Jump to content

cigarsforless

♥Ambassador
  • Content count

    240
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by cigarsforless

  1. cigarsforless

    Multi_Vendor_Shipping new thread

    The close window link is easy enough! Below is a snip of my code from catalog/ship_estimator.php // if there is nothing in the customers cart, redirect them to the shopping cart page if ($cart->count_contents() < 1) { ?> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '20'); ?></td> </tr> <tr> <td colspan="2" align="center" class="pageHeading"><b><?php echo 'There is nothing in your cart for a shipping estimate, please close this window and select a product.'; ?></b> </td> </tr> <?php } ?> </table></td> </tr> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '10'); ?></td> </tr> <tr class="infoBoxContents"> <td class="main"><p align="center"><?php echo '<a href="java script:window.close()">Close Window</a>'; ?><br /><br /></p> <br><br> <?php if ($debuger == 'yes') { You just need to add the following where you want it to display <p align="center"><?php echo '<a href="java script:window.close()">Close Window</a>'; ?><br /><br /></p> NOTE: in code above is should be javascript NOT java script
  2. cigarsforless

    Multi_Vendor_Shipping new thread

    the UPSXML module also displays an Estimated Delivery Date after the listed methods eg: United Parcel Service (XML) (1 pkg x 1.5 lbs total) UPS Ground, Estimated Delivery Date: Feb 12, 2008 $8.29 UPS 3 Day Select, Estimated Delivery Date: Feb 11, 2008 $16.89 UPS 2nd Day Air, Estimated Delivery Date: Feb 08, 2008 $21.74 UPS Next Day Air Saver, Estimated Delivery Date: Feb 07, 2008 $45.27 UPS Next Day Air Early A.M., Estimated Delivery Date: Feb 07, 2008 $83.31 UPS Next Day Air, Estimated Delivery Date: Feb 07, 2008 $49.53
  3. cigarsforless

    Multi_Vendor_Shipping new thread

    I too have tried messing with that contrib. I have it working well with all shipping modules EXCEPT for UPS XML Unfortunately, I can not get any type of quotes from that module and without it, the shipping estimator is useless to me. Have you had any luck with the UPS XML shipping module returning quotes Jim?
  4. cigarsforless

    Multi_Vendor_Shipping new thread

    Anybody? I have spent a few more days trying to get this contribution to work with MVS, but they seem to get the data differently and I am at a loss to figure it out. I have been trying to impliment the code changes that were done to checkout_shipping.php into shipping_estimator.php but without any luck. In the latest MVS package I see that getting shipping_estimator.php to work with MVS is on the wishlist, and I know it would be a widely used contribution if anybody can figure out how to do it.
  5. cigarsforless

    [Contribution] Ship In Cart

    Has enyone got this great contibution to work with MVS? If so, can you pm me the code or better yet post it as a contribution? thanks
  6. cigarsforless

    Multi_Vendor_Shipping new thread

    Has anybody managed to get Ship in Cart http://www.oscommerce.com/community/contributions,1781/ (or similar) to work with MVS I have spent the last couple of days trying to get this to work, but can't seem to get it to function correctly I really need a shipping estimator that works with MVS. Thanks in advance for any help getting this to work.
  7. cigarsforless

    Ship in Cart?

    Has anybody managed to get Ship in Cart http://www.oscommerce.com/community/contributions,1781/ (or similar) to work with MVS I have spent the last couple of days trying to get this to work, but can't seem to get it to work correctly I really need a shipping estimator that works with MVS. Thanks in advance for any help getting this to work.
  8. cigarsforless

    Dynamic SiteMap

    If you just use the one sort statement as above, only the names get soted, but the links do not. Use this instead sort($files['path']); sort($files['name']);
  9. cigarsforless

    [Contribution] Show Sub-categories

    change lines 53 to 61 from } */ // Function used for post November 2002 snapshots function tep_show_category($counter) { global $foo, $categories_string, $id; for ($a=0; $a<$foo[$counter]['level']; $a++) { $categories_string .= " "; } } To } // Function used for post November 2002 snapshots function tep_show_category($counter) { global $foo, $categories_string, $id; for ($a=0; $a<$foo[$counter]['level']; $a++) { $categories_string .= " "; }*/ } Basically you are just commenting out the function tep_show_category
  10. cigarsforless

    Multi_Vendor_Shipping new thread

    Thanks for the suggestions Craig, But rather than making new table entries, what I was thinking, in upsxml.php was to modify $this->today = date("Ymd"); and if (constant('SHIPPING_DAYS_DELAY_' . $vendors_id) > 0) { $shipdate = date("Ymd", time()+(86400*constant('SHIPPING_DAYS_DELAY_' . $vendors_id))); } else { $shipdate = $this->today; } to pull the products_date_available variable from the products table and use that date instead of today's date from what I can see this would have to be tied into checkout_shipping.php and a variable then passed to the shipping module. I have an idea what to do, but can't get a grip on how to do it
  11. cigarsforless

    Multi_Vendor_Shipping new thread

    If only it were that simple..... all 3 of my main dropshippers offer MANY items that need to be ordered in first. To create a ton of new vendors based on 4 day delay, 7 day delay, 10 day delay, 14 day delay etc would be WAY too complicated. Can I not just get the UPS module to somehow pull the "date available" and send that as the shipping date instead of todays date + the shipping delay?
  12. cigarsforless

    Multi_Vendor_Shipping new thread

    Here's a question.... (Not sure if it should be here or in another thread) I use MVS (and a ton of other mods) and sell a lot of back ordered items - they have to be ordered in before shipping to customer. My question is does anyone know how I can get the MVS modded UPSxml module to get the EDD based on the product Date Available field rather than the current date plus shipping delays etc. EG. say a customer buys a back ordered item today, it takes a week to get to my shop before shipping, the UPS quote says it should arrive in 4 days, when it should tell them to expect it in 11 days. Any help or pointers would be greatly appreciated example of backordered it here: http://www.internetcigarsales.com/catalog/...igars-p-30.html
  13. cigarsforless

    Multi_Vendor_Shipping new thread

    I am eagerly awaiting the next roll up release for a copy of UPSXML.php that has the insurance part working correctly. It would also be great to be able to add the fees for "Signature Required" for shipments that are over $200 in value. I think hard coding to check if value is over 200.00 then add the 2.25 fee would work, or it could get the info from UPS? I also would like to add insurance and Signature Required fees (1.35) to USPS module as well. Any suggestions on how to code it? Check out my live stores at: http://www.internetcigarsales.com/catalog/ http://www.thecigarhut.com/catalog/ (both sites are tied to same database!)
  14. cigarsforless

    Multi_Vendor_Shipping new thread

    Before installing osCommerce I was a complete PHP newbie but with the supplied install instructions provided with most mods, they are usually fairly simple to install. that being said, MVS is a BIG contribution that takes quite a while to install, but the instructions are well laid out and it is well worth it if you deal with dropshippers (like I do). I too have some vendors who only ship in the USA by USPS, others ship globally by USPS and UPS. With this contribution, you can handle all this and more. While it is time consuing to install, definately worth the time and effort. As for needing accounts with the shipping companies, yes, you will have to register with both USPS and UPS to use their back end systems. Jim
  15. cigarsforless

    Multi_Vendor_Shipping new thread

    This is really something that should be integrated. You do NOT want UPS to get a quote based on pick up on a Saturday or Sunday as there is a premium charged and most do not ship on those days anyway. As above, an order placed Friday, Saturday or Sunday would ship on Monday (with a 1 day delay set) As far as insurance goes, I could not get it to work either with the latest upsxml.php, nor could I get it to retrieve EDD times, I went back to the old one i had. Jim
  16. cigarsforless

    Multi_Vendor_Shipping new thread

    Any idea when it will be posted in the contributions section? Would love to get my hands on it ASAP for the insurance option.
  17. cigarsforless

    Multi_Vendor_Shipping new thread

    Any chance of getting usps.php and upsxml.php to add insurance to the quoted rates? Ideally I also like to add the fee for Signature Confirmation to any order over $200.00 as well have looked around other posts/contributions on this issue, but not 100% on how to make the changes needed specific to MVS as always, great contibution and any help on these issues would be greatly appreciated. PS: smoke cigars? check out my live store at http://www.internetcigarsales.com It's a VERY heavily modded osCommerce shop (with more mods yet to add!)
  18. cigarsforless

    Multi_Vendor_Shipping new thread

    WOO HOO! That did the trick!!! Thanks a million for your help on this Craig!
  19. cigarsforless

    Multi_Vendor_Shipping new thread

    Brilliant! that solved the text / html problem I had perfectly! Now all i have to do is figure out the upsxml handling issue....
  20. cigarsforless

    Multi_Vendor_Shipping new thread

    changing setting to CR/LF does add some extra line breaks in Vendor emails but still ignores all <br> tags in the hard coded Vendor Emails that look perfect in HTML format but come out like Qty:Product Name:Item Code/Number:Product Model:Per Unit Price:Item Comments: when sent as text format guess what I'm really looking for is a separate config value for Vendor Emails sent as HTLM, but to be able to have store emails sent to customers as plain text. While I am ok at editing php code when following instructions, it does take me ages of trial and error to figure it out for myself. On a side note, I can not for the life of me figure out why the vendors upsxml.php file is not adding the handling fee to quotes. Does not matter if I enter the handling fee in the vendors info, the shipping module or both. nothing works. Could it have something to do with the code in the vendors.php has value of $handling_charge while in upsxml.php it is handling_fee?
  21. cigarsforless

    Multi_Vendor_Shipping new thread

    Vendor Email in HTML format while rest of store is in Text format? Can this be done? I want to send Vendor Emails in HTML format while rest of store emails are sent in Text format. I see in the configuration table "Use MIME HTML when sending emails" but I want this to apply only to vendor emails, (the orders sent to them in text format have no line breaks as <br> is not recognized) I want to keep Customers email in plain text format as they are much clearer to read and links are activated. This could be solved by either of the following but am not clear on how to make the changes 1) send vendors email in HTML but rest in plain text 2) change the coding for the vendors emails to use \n instead of <br> (tried this but I guess it is in so many places I could not get it to work) 3)change coding in customer emails to include the <a href=" and "></a> tags to activate the links to order info in the order confirmation emails and order update emails. Any help and suggestions would be much appreciated. (ps: you can have a look at my live store at http://www.internetcigarsales.com/ )
  22. Can this be done? I want to send Vendor Emails in HTML format while rest of store emails are sent in Text format. I see in the configuration table "Use MIME HTML when sending emails" but I want this to apply only to vendor emails, (the orders sent to them in text have no line breaks as <br> is not recognized) I want to keep Customers email in plain text format as they are much clearer to read and links are activated. This could be solved by either of the following but am not clear on how to make the changes 1) send vendors email in HTML but rest in plain text 2) change the coding for the vendors emails to use \n instead of <br> (tried this but I guess it is in so many places I could not get it to work) 3)change coding in customer emails to include the <a href=" and "></a> tags to activate the links to order info in the order confirmation emails and order update emails. Any help and suggestions would be much appreciated. (ps: you can have a look at my live store at http://www.internetcigarsales.com/ )
  23. cigarsforless

    Multi_Vendor_Shipping new thread

    AWSOME! Thanks Craig! that does just the trick and I like the big red banner at the top with the error message! Jim
  24. cigarsforless

    Multi_Vendor_Shipping new thread

    OOPS! for the first part, Here is the missing end to the code: 'SI' => 'Slovenia', 'SB' => 'Solomon Islands', 'SO' => 'Somalia', 'ZA' => 'South Africa', 'GS' => 'South Georgia (Falkland Islands)', 'KR' => 'South Korea (Korea, Republic of)', 'ES' => 'Spain', 'LK' => 'Sri Lanka', 'SD' => 'Sudan', 'SR' => 'Suriname', 'SZ' => 'Swaziland', 'SE' => 'Sweden', 'CH' => 'Switzerland', 'SY' => 'Syrian Arab Republic', 'TW' => 'Taiwan', 'TJ' => 'Tajikistan', 'TZ' => 'Tanzania', 'TH' => 'Thailand', 'TG' => 'Togo', 'TK' => 'Tokelau (Union) Group (Western Samoa)', 'TO' => 'Tonga', 'TT' => 'Trinidad and Tobago', 'TN' => 'Tunisia', 'TR' => 'Turkey', 'TM' => 'Turkmenistan', 'TC' => 'Turks and Caicos Islands', 'TV' => 'Tuvalu', 'UG' => 'Uganda', 'UA' => 'Ukraine', 'AE' => 'United Arab Emirates', 'UY' => 'Uruguay', 'UZ' => 'Uzbekistan', 'VU' => 'Vanuatu', 'VA' => 'Vatican City', 'VE' => 'Venezuela', 'VN' => 'Vietnam', 'WF' => 'Wallis and Futuna Islands', 'WS' => 'Western Samoa', 'YE' => 'Yemen', 'ZM' => 'Zambia', 'ZW' => 'Zimbabwe'); return $list; } } ?>
  25. cigarsforless

    Multi_Vendor_Shipping new thread

    Actually the code in my post above DOES work for international quotes!!! Whoopee! BUT I found another bug with the "Checkout without shipping selected" issue when multiple items are selected from multiple vendors, all quotes are presented from either UPS or USPS but if you get to the Payment Confirmation Page and then hit your browsers back button to return to checkout_shipping.php, NONE of the shipping quotes are selected. With the fix posted previously in this thread, that would be no problem, BUT I have one vendor who ships ONLY via USPS so that option is pre-selected as there are no other methods available, but for items with 2 shipping methods available, none are selected and customer can then proceed to check out without paying for shipping on the other items as the fix only checks if ANY shipping method has been selected for any package, not that shipping methods for ALL packages selected. The previous fix in checkout_payment.php is // if no shipping method has been selected, redirect the customer to the shipping method selection page if (!tep_session_is_registered('shipping')) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } // MVS // if no shipping method has been selected, redirect the customer to the shipping method selection page // Added for CCGV compatibility if ($cart->content_type !== 'virtual') { if (!isset($shipping[title])) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } } else { } //MVS end any ideas on how to write this to check that ALL MVS packages have shipping selected?
×