- Posts: 50
- Thank you received: 2
Free Products checkout problem
7 years 5 months ago #307111
by pma
Free Products checkout problem was created by pma
-- url of the page with the problem -- : localhost
-- HikaShop version -- : 4.1
-- Joomla version -- : 3.9
-- PHP version -- : 5.6
Hi, I'm creating file shop:
some products are free,but in checkout process we have Payment, I suggest to add if condition for checkout process that when the product is free it dose not show the Payment step and just complete the order.
in normal i have this process for shoping cart and checkout :
cart - login - payment - end
i need only for free products :
cart - login - end
-- HikaShop version -- : 4.1
-- Joomla version -- : 3.9
-- PHP version -- : 5.6
Hi, I'm creating file shop:
some products are free,but in checkout process we have Payment, I suggest to add if condition for checkout process that when the product is free it dose not show the Payment step and just complete the order.
in normal i have this process for shoping cart and checkout :
cart - login - payment - end
i need only for free products :
cart - login - end
Please Log in or Create an account to join the conversation.
7 years 5 months ago #307113
by nicolas
Replied by nicolas on topic Free Products checkout problem
Hi,
That should already be the case.
There is some code in the HikaShop checkout system to remove the payment when the total is equal to 0.
Note that if your product price is 0.00001 then it's not considered equal to 0 even though the rounded total will display at 0.00. So that could explain why you see the payment method selection.
Otherwise, we would need more information on the situation to be able to help as we can't reproduce the issue on our end.
That should already be the case.
There is some code in the HikaShop checkout system to remove the payment when the total is equal to 0.
Note that if your product price is 0.00001 then it's not considered equal to 0 even though the rounded total will display at 0.00. So that could explain why you see the payment method selection.
Otherwise, we would need more information on the situation to be able to help as we can't reproduce the issue on our end.
Please Log in or Create an account to join the conversation.
6 years 8 months ago #316183
by hans1961
Replied by hans1961 on topic Free Products checkout problem
Hi, I encounter the same problem, without having changed anything (as far as I now).
I could give you some information ans login credentials to have a further look. How can I do this in a way nobody else can see this info?
Kind regards, Hans
I could give you some information ans login credentials to have a further look. How can I do this in a way nobody else can see this info?
Kind regards, Hans
Please Log in or Create an account to join the conversation.
6 years 8 months ago #316185
by nicolas
Replied by nicolas on topic Free Products checkout problem
Hi,
You can send that along with a link to this thread via our contact form:
www.hikashop.com/support/contact-us.html
You can send that along with a link to this thread via our contact form:
www.hikashop.com/support/contact-us.html
Please Log in or Create an account to join the conversation.
6 years 8 months ago #316199
by nicolas
Replied by nicolas on topic Free Products checkout problem
Hi,
It's not a bug you have.
It's just that you have a price set for your product. The price is set to 0.00001 for that product.
It's rounded to 0.00, but since it's not 0, then the payment methods selection is displayed on the checkout.
Remove the price for that product and the payment methods won't appear:
monosnap.com/file/7Xcg0t8ajVsHI7t32sktWzDhqRHgA2
It's not a bug you have.
It's just that you have a price set for your product. The price is set to 0.00001 for that product.
It's rounded to 0.00, but since it's not 0, then the payment methods selection is displayed on the checkout.
Remove the price for that product and the payment methods won't appear:
monosnap.com/file/7Xcg0t8ajVsHI7t32sktWzDhqRHgA2
Please Log in or Create an account to join the conversation.
6 years 8 months ago #316203
by hans1961
Replied by hans1961 on topic Free Products checkout problem
Thanks Nicolas! I never would have figured this out myself. Of course I read the history of this topic, but I didn't realize that I actually had to click the Edit button to see the price of 0.00001.
Thanks again, also for your quick response.
Thanks again, also for your quick response.
Please Log in or Create an account to join the conversation.
Time to create page: 0.053 seconds