Jump to content

WWDev

Members
  • Content count

    10
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Douglas Hurst
  • Gender
    Male
  • Location
    Edmonton, AB
  1. WWDev

    Multi_Vendor_Shipping new thread

    Hmm. So including vendors_shipping.php SHOULD generate that data for me?
  2. WWDev

    Multi_Vendor_Shipping new thread

    ARGH! I've looked through the checkout_process code and various other places, and I can't get the shipping to set. I can't even figure out how to get the available shipping method data for the selected vendor. Everything I try results in an empty shipping data array or a blank page due to an inappropriate function call for new shipping. How would one go about getting the shipping data for a vendor? I tried using the code between the //MVS tags from the mods I did when I installed MVS, but no luck. The file seems to get a variable "$shipping" from somewhere that seems to have data already in it, but I can't figure out where. :(
  3. WWDev

    Multi_Vendor_Shipping new thread

    I think I've got it all set! I gave up on the complex notion of multiple vendors per product, and just enabled modifying the vendor for a specific item in a specific order. The only problem now is that it works great if I choose a vendor what was present when the order was created, but since the order process itself creates the shipping entry for the order, if I select a vendor that wasn't part of the original order, it just disappears from the order when I view it. So, this says to me that I must manually insert the shipping for that vendor into the order data, but I'm not sure how to do that or where to start looking other than checkout_shipping. Any thoughts?
  4. WWDev

    Multi_Vendor_Shipping new thread

    Ah, indeed. And part of the client's reasoning is that they'd like to be able to change the dropship vendor on the order AFTER it has been placed by the customer (effectively item substitution, but just changing the vendor). They're not even concerned with inventory control or sales tracking per product (they're tracking by member id only) so that doesn't matter as far as orders_products goes. Thanks for all your help/feedback/ideas. I guess I'm just going to go back to bashing my head into my monitor until something spills out. :)
  5. WWDev

    Multi_Vendor_Shipping new thread

    I was thinking of something like using substring_index, but yeah, you're right. That would be too messy. ~sigh~ Clients make me cry. lol I didn't count on them wanting multiple possible vendors for the same product# (oem is oem, after all). I know it would be messy, but could I accomplish the same thing with multiple copies of the same product, each with a different vendor attached? Or would that still leave me with no way to determine which product/vendor combination was being used (short of having unique names from the products that only admin can see somehow)?
  6. WWDev

    Multi_Vendor_Shipping new thread

    Thanks for the quick reply Jim! Looks like I have a long road ahead of me, and only a day to do it. lol. Thanks for the tips. Wouldn't it be possible to leave vendors_id in products table and change the type to a varchar or something, insert as string, and then pull vendor ids from the vendors table (or something like that, SQL isn't my strong suit)?
  7. WWDev

    Multi_Vendor_Shipping new thread

    Thanks for the response! I was hoping the 1:1 -> many:1 change would be trivial. add a table, change the vendor dropdown on product edit to checkboxes and change the insert/alter queries and voila! Shame that it isn't. :) Any ideas on where I should start looking to attempt the change? I really like the work you've done, and don't want to change contribs if I don't have to. Moving to 2.3.x at this time isn't possible, as there are too many features that don't have 2.3 support yet (our payment method being one of them), and I have taken the steps necessary to secure 2.2 and make it PCI compliant. We're the host, so there's no risk of an unexpected update messing anything up.
  8. WWDev

    Multi_Vendor_Shipping new thread

    Hey guys! Great job on the contrib, and glad to see the forum thread is still active. :) I've implemented MVS on a 2.2 site (had to use 2.2 for various reasons) and it's working just fine, but I'm wondering about the case where a product can have mutiple vendors. I'd like to be able to edit the order AFTER the customer has placed it and change the vendor for a particular product for that order. For example, they order the product, but I know that one vendor is cheaper for that product than another. From the customer's perspective, nothing has changed, but from an admin perspective, the email gets sent to a different vendor. All of the shipping is flat rate per "region" (basically US or Canada), so changing it after the fact wouldn't change shipping calculations. I have mulitple vendors set up, but I can only attach one vendor to any given product. I thought that selecting NONE as the vendor might allow me to select later, but it defaults to the local store. Does the functionality exist already and I've missed it? If not, is it planned? I've read through some old (2005) posts on something similar to this in the thread, but haven't seen anything more recent. Any thoughts on this? Thanks!
  9. Seems a bit cumbersome to have a separate line in the file for each extra field. That would mean you would have 5 different lines in the file for EACH PRODUCT if you had 5 extra fields. Ouch. Wouldn't it make sense to have had extra columns for each, just like the main import is done? How hard would it be to modify the existing code expect and handle a different format?
  10. WWDev

    OSC-Affiliate

    silus, I created an account just to say you are the man. Thanks for this. I had seen the session vars earlier and made a mental note to remember. Should have written it down because I drove myself crazy trying to figure out why sales weren't being recorded!! Above totally fixed it. (w00t)
×