Page 1 of 1
Region and Country Shipping Rules
Posted: 06 May 2025, 15:32
by TCS
Finishing up developing an e-commerce site for my daughter using phoca. Started with Easystore and then got convinced Phoca was the way to go combined with PCuikit and Yootheme integration which I think is great.
I only recently started using litespeed to help speed up the site so that isn't the original issue with shipping rules I could never get to work.
I have dug around as much as I can to troubleshoot the issue. All other shipping rules seem to work fine related to the product as there is clearly a refresh happening after the "update" button is clicked. But as far as region or country goes, I can't get other shipping options to load based on changing region, logging in with admin or a test account and trying combinations of billing and shipping address configurations.
Any advice is so appreciated. I am not sure if I should leave the URL in here or not so let me know.
Re: Region and Country Shipping Rules
Posted: 06 May 2025, 23:51
by Jan
Hi, you can add links here, it depends on you. The question is if this is Phoca Cart feature or PCuikit feature. Which update button do you exactly mean?
Jan
Re: Region and Country Shipping Rules
Posted: 07 May 2025, 19:10
by TCS
Yes I wondered if perhaps it was PCuikit causing the issue but all I did to isolate that was to disable their plugin and override to see if there was any response. It didn't fix the issue but I tested that a while ago and should check it again just in case.
The "update" button I am referring to is on the checkout page for the quantity after adding the one product we have.
https://tealcupstudio.com/buy
https://tealcupstudio.com/checkout
We should all aspire to becoming "Phoco Heros".
Thanks Jan,
Matt.
Re: Region and Country Shipping Rules
Posted: 08 May 2025, 02:07
by Jan
It would be great if you can disable the PCuikit completely and test the checkout.
Standardly:
- Update button can e.g. change the count of products, so all rules will be checked again after clicking it.
- In standard checkout, when you change the country or region, then save of address needs to happen and then again the website reloads with new shipping and payment methods (based on region or country)
Try to check if the parameter "Remove Payment method" or "Remove Shipping method" is disabled in Phoca Cart Options:
Jan
Re: Region and Country Shipping Rules
Posted: 08 May 2025, 03:36
by TCS
Ok. So under Calculation>Checkout both options "Remove Shipping Method" and "Remove Payment Method" were set to Yes. I then completely disabled PCuikit and tested an order. Because I never tried Phoca without PCuikit I never knew that there is a "Save" step involved. After saving an address within a known shipping rule to, it worked as expected revealing all the shipping options to choose from.
I will open a ticket with PCuikit from here. Should those options be set to Yes or No for our configuration?
Thanks again.
Re: Region and Country Shipping Rules
Posted: 08 May 2025, 13:48
by Jan
Hi,
I don't know if PCuikit needs to have them On or Off, the standard flow in Phoca Cart is:
- if ON and user changes e.g. the quantity or add new product, then payment or shipping method will be removed and user needs to select it newly
- if OFF and user changes e.g. the quantity or add new product, then payment or shipping method will be checked if they fit new conditions and if the selected payment or shipping methods fit the criteria, it will stay selected.
But I really don't know if PCuikit is based on these parameters.
Jan