![]() |
It doesn't help much if the user can't easily find out what the shipping is for the items in their cart. One day... someone will create/sell the mod.
|
It is VERY easy! And it's working now!
I highly recommend this mod. |
I've got this mod to work in 4.0.16 for fedex rates - but once a customer adds a zip code and calculates the shipping the option to change that entry doesn't appear.
It should be displaying "Click here to change your zip code" Anyone have any ideas? Heres what my code looks like Code:
{if $not_logged_message eq "1"} |
I figured out what the problem was with my previous post. Works now thats to BCS Engineerings Mod.
Nwo I'm trying to remove the default shipping message "Sorry, there are no available shipping methods for your location.: anonymous" Does anyone have any idea on how hide this message - I assume its tied to the login querry in cart.php And that if someone enters a zip which fedex doesn't ship to - they'll get a similar message So I can't just delete the function Any thought/ideas would be great |
Does this mod work for version 4.0.17?
|
Tax
Ok, I think I'm missing something. I've got this working perfectly, except for the tax. I have my cart set to charge MA sales tax for orders in MA. This works fine on checkout, but with the pre-login shipping calculator, it includes the tax no matter which zip code is input. This is confusing to the user as it shouldn't be showing tax in the total if they're not using a MA zip code.
Any ideas. I'm in version 4.0.17 by the way. Thanks, jeff |
Shipping Estimator for US and Canada
I've modified the original code to take Canada into consideration and allow both US and CA zipcodes to be utilized.
Edit Cart.php locate: Code:
$intershipper_recalc = "Y"; BEFORE this add: Code:
# prelogin calculator start Now onto the .tpl, edit skin1/customer/main/cart_totals.tpl and locate: Code:
<input type=hidden name=paymentid value="{$smarty.get.paymentid|escape:"html"}"> BEFORE this line add: Code:
{* Shipping Estimate *} :!: Note the original commented code that will need to be replaced as well: Code:
{*{if $not_logged_message eq "1"}{$lng.txt_order_total_msg}{/if}*} Anyhow, I figured I would contribute this extension to an already much needed mod X-Cart should have by default if you ask me :) |
Some people have asked about this and no one has responded. Does anyone know of way to let the customer calculate the shipping cost for an item BEFORE adding it to the cart? Like maybe adding this to the product description page? This seems much more logical than making the customer add the product to the cart and THEN seeing how much the shipping is.
|
Best method I could think of is to utilize this same code but rather make a seperate form on product pages that submits to a custom PHP page where you can easily add it to the customers cart, get the calculation, display it to the user and remove the item from the customers cart.
Basically adding and removing the product to the customers cart would be transparent as to get all the needed $cart variables to perform the estimation. Problem with this is if a customer already has something in their cart, the calculation would be for both items instead of one. |
Advanced Order Management
Has anyone figured out how to get this to wok in AOM? If you attempt to modify an order, it throws an error:
Invalid argument supplied for foreach() in /xxx/shipping/mod_UPS.php on line 275 I'm assuming that the problem is due to the fact that the products aren't "in the cart" anymore, but rather in an orders table. The section of code that causes the error is: Code:
EOT; |
All times are GMT -8. The time now is 08:01 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.