Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Free Std Shipping Coupon Not Applied
Author « Topic »  

Mooseman
Advanced Member

166 Posts

Pre-sales questions only
(More Details...)

Posted - 03/26/2021 :  09:23:00  
The box is present at check-out and when the correct code is entered a message confirms it is applied, yet when it is time to enter CC info std shipping cost is still included.

The offer only applies to: UPS - USA (all states) - Standard Shipping

see: https://www.ceramicfasteners.com/shop/buy.php

Not sure I should post the coupon code in this public forum

dbdave
ECT Moderator

USA
10445 Posts

Posted - 03/26/2021 :  11:15:38  
Hi, I would check the setup.
FSA Will need to be set for the country, state(s) and the shipping option(s) that the coupon applies to.
I would check that and report back if you still have the issue.

Thanks,
David

Mooseman
Advanced Member

166 Posts

Pre-sales questions only
(More Details...)

Posted - 03/26/2021 :  11:38:55  
Hi David.

Everything appears set correctly and the form works as you would expect up to the CC info page, where std (ground) shipping cost is still applied.

Have tried clearing the browser cache and also a different browser. Same results.

dbdave
ECT Moderator

USA
10445 Posts

Posted - 03/26/2021 :  12:20:46  
Hi, perhaps this video might reveal a step you missed...
https://www.ecommercetemplates.com/tutorials/#freeshipping

Was this working and then stopped, or it's newly setup?

David

Mooseman
Advanced Member

166 Posts

Pre-sales questions only
(More Details...)

Posted - 03/26/2021 :  12:31:24  
The video is the first thing I watched.

We've had % off coupons before that worked fine. Has been a few years though.

This is the first free std shipping coupon

dbdave
ECT Moderator

USA
10445 Posts

Posted - 03/26/2021 :  12:43:26  
If you want to (click my username) and send me a message with a code to try, I will try it at the website.
Let me know what shipping service has the FSA applied.
Thanks,
David

Mooseman
Advanced Member

166 Posts

Pre-sales questions only
(More Details...)

Posted - 03/26/2021 :  12:58:52  
Private message sent.

dbdave
ECT Moderator

USA
10445 Posts

Posted - 03/26/2021 :  14:30:38  
I'm leaving the office in just a minute and I'll check it later and get back to you.
Thanks,
David

Vince
Administrator

42818 Posts

Posted - 04/09/2021 :  02:07:32  
Hi Mooseman
I believe I've found the cause of this and it is because of a line that you have in your cart.php page...

session_save_path("/xxx/xxx/xxx/xxx");

Coupons are applied by the script vsadmin/ajaxservice.php but that also starts a user session, but without setting the path so it's looking for session variables in the wrong place, and doesn't find them.
I presume there was a good reason that you set the session path originally, but that may now not be necessary with the PHP changes (session values seem to be ok) in which case you could just remove that line in any file you've set it in.
Or, if you really do still need to set that you can create a php page in the vsadmin directory "adminsession.php", and put any session settings you like in that. For instance...

<?php
session_save_path("/xxx/xxx/xxx/xxx");
?>

Vince



Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Mooseman
Advanced Member

166 Posts

Pre-sales questions only
(More Details...)

Posted - 04/09/2021 :  06:04:28  
Hi Vince,

Removing the line: session_save_path("/xxx/xxx/xxx/xxx"); seems to have corrected the issue with the coupon code.

FYI: That line of code hase been there since 2014 when this ECT site was first created. Although I can't be sure (my support tickets don't go back that far) memory tells me , at that time, it was required by my hosting company.

Thank you for your assistance with this.

++++

Now on to the new problem that appeared when v7.2.6 was appied to the test setup.

The Shipping Estimator on the Cart Page begins as follows:

Please enter your zip / postal code
Country [ United States of America ]
Zip [ Zip ]

When a valid ZipCode is entered the first line changes to:

Missing/Illegal ShipTo/Address/StateProvinceCode

As I had metioned earlier in our private messages, since upgrading to v7.2.6, the following line is no longer present. Before upgrading it appeared above the 'Country' line.

State [ Please select US State ]

+++

The test setup is still available with the session_save_path("/xxx/xxx/xxx/xxx"); line removed.

Vince
Administrator

42818 Posts

Posted - 04/09/2021 :  14:40:47  
Hi Mooseman
And this does indeed seem to be a bug so my apologies for that. I've updated the test site file...
vsadmin/inc/inccart.php
...with the fix and I'll get the fix into the updater asap.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Mooseman
Advanced Member

166 Posts

Pre-sales questions only
(More Details...)

Posted - 04/10/2021 :  04:16:32  
Hi Vince,
Am so pleased you found the bug! The test site is now working perfectly!
When I update the live site to v7.2.6, can I also just copy the manually updated file...

vsadmin/inc/inccart.php

...from the test site into the updated live site?
Thanks again for all your help.

Vince
Administrator

42818 Posts

Posted - 04/10/2021 :  04:49:05  
Hi Mooseman
Yes, absolutely copy the modified inccart.php to the live site.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Mooseman
Advanced Member

166 Posts

Pre-sales questions only
(More Details...)

Posted - 04/25/2021 :  04:55:24  
Hi Vince,

I finally had time to update the live site to v7.2.6 and apply that patch to file...
vsadmin/inc/inccart.php
... Just wanted to report back to say the live site is working perfectly and to again thank you for your assistance.

Vince
Administrator

42818 Posts

Posted - 04/25/2021 :  09:54:52  

rocketsupplies
Starting Member

USA
35 Posts

Posted - 11/22/2023 :  14:32:02  
I am also having this problem.
I have FSA set for the country, states and method (weight/price).
I have a coupon for FSA
When I enter the coupon LAUNCHROCKETS there is pop-up that says that it is applied
but the shipping amount doesn't show FREE until I add another item, even if I refresh the page.
The reverse is also true, the FREE doesn't go away if I remove the coupon, until a product is added or removed.
Any ideas what I should be looking for to fix this?
site: https://rocket.supplies
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000