- Posts: 36
- Thank you received: 4
Remove "0" shipping from first page of checkout
8 years 3 months ago #296759
by hkeyzer
Remove "0" shipping from first page of checkout was created by hkeyzer
-- url of the page with the problem -- :
joomla-support.co.nz/index.php
-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.11
-- PHP version -- : 7.0.29
-- Browser(s) name and version -- : firefox 59.0.1
We have implemented the workflow checkout on this site.
However we would like remove the "0" zero shipping displayed on the first page of checkout. This is despite having configured a shipping option which is non-zero as default (first shipping option).
How do we display either the correct default shipping on this page of the checkout or hide it until correct options for shipping can be selected later in the checkout process?
Also when the last step is reached where shipping is selected - the default shipping is not that of the first one in the shipping options list.
How do we ensure the "default" shipping is the expected default in the shipping options?
-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.11
-- PHP version -- : 7.0.29
-- Browser(s) name and version -- : firefox 59.0.1
We have implemented the workflow checkout on this site.
However we would like remove the "0" zero shipping displayed on the first page of checkout. This is despite having configured a shipping option which is non-zero as default (first shipping option).
How do we display either the correct default shipping on this page of the checkout or hide it until correct options for shipping can be selected later in the checkout process?
Also when the last step is reached where shipping is selected - the default shipping is not that of the first one in the shipping options list.
How do we ensure the "default" shipping is the expected default in the shipping options?
Please Log in or Create an account to join the conversation.
8 years 3 months ago #296767
by nicolas
Replied by nicolas on topic Remove "0" shipping from first page of checkout
Hi,
When the cart is loaded in memory a shipping method is always preselected. It is the default one (the first one available) which is always used. So if you display the cart view before the selection of the shipping method, you get the amount of that shipping method listed there as shipping fees.
So that means that this free shipping method is the first one available at that moment.
Now I don't know how you configured your shipping methods. Please provide a screenshot of the page in System>Shipping methods and we can tell you more about the situation.
When the cart is loaded in memory a shipping method is always preselected. It is the default one (the first one available) which is always used. So if you display the cart view before the selection of the shipping method, you get the amount of that shipping method listed there as shipping fees.
So that means that this free shipping method is the first one available at that moment.
Now I don't know how you configured your shipping methods. Please provide a screenshot of the page in System>Shipping methods and we can tell you more about the situation.
Please Log in or Create an account to join the conversation.
8 years 3 months ago #296796
by hkeyzer
Replied by hkeyzer on topic Remove "0" shipping from first page of checkout
Please Log in or Create an account to join the conversation.
8 years 3 months ago #296800
by nicolas
Replied by nicolas on topic Remove "0" shipping from first page of checkout
Hi,
You set a zone restriction in your other shipping methods.
This means that these shipping methods will only be available to the customer if the state of the customer is one of these.
On the first step of the checkout, you're not yet logged in. So in that case, HikaShop will use the "main tax zone" setting of the configuration as the current zone of the customer. So that means that you want either:
- Also set a zone restriction to the free shipping method or an access level to it so that it isn't available for the main tax zone before the login of the customer
- or you want to change the main tax zone to one of the zones of the other shipping methods so that it will default to the shipping method of that zone.
You set a zone restriction in your other shipping methods.
This means that these shipping methods will only be available to the customer if the state of the customer is one of these.
On the first step of the checkout, you're not yet logged in. So in that case, HikaShop will use the "main tax zone" setting of the configuration as the current zone of the customer. So that means that you want either:
- Also set a zone restriction to the free shipping method or an access level to it so that it isn't available for the main tax zone before the login of the customer
- or you want to change the main tax zone to one of the zones of the other shipping methods so that it will default to the shipping method of that zone.
Please Log in or Create an account to join the conversation.
8 years 3 months ago #296925
by hkeyzer
Replied by hkeyzer on topic Remove "0" shipping from first page of checkout
Thanks for the options we managed to implement it and it is working well now.
Please Log in or Create an account to join the conversation.
Time to create page: 0.076 seconds