- Posts: 30
- Thank you received: 4
New orders not taking the price of the 'variant'
- Scramble ITS
-
Topic Author
- Offline
Less
More
5 months 3 weeks ago - 5 months 1 week ago #371354
by Scramble ITS
New orders not taking the price of the 'variant' was created by Scramble ITS
-- url of the page with the problem -- :
www.scramble.nl
-- HikaShop version -- : 6.4.0
-- Joomla version -- : 5.4.4
-- PHP version -- : 8.3
-- Browser(s) name and version -- : Edge 146.0.3856.84
I recently updated from HS 6.3.0 to 6.4.0. Since then our products don't show their correct price. We work with variants in most of our products. When you select one variant the price in the cart only shows the 'default' price of the product. In the backend everything seems perfectly fine. Both the characteristisks as the variants in each product are all there. Any thoughts?
-- HikaShop version -- : 6.4.0
-- Joomla version -- : 5.4.4
-- PHP version -- : 8.3
-- Browser(s) name and version -- : Edge 146.0.3856.84
I recently updated from HS 6.3.0 to 6.4.0. Since then our products don't show their correct price. We work with variants in most of our products. When you select one variant the price in the cart only shows the 'default' price of the product. In the backend everything seems perfectly fine. Both the characteristisks as the variants in each product are all there. Any thoughts?
Last edit: 5 months 1 week ago by Scramble ITS.
Please Log in or Create an account to join the conversation.
5 months 3 weeks ago #371358
by nicolas
Replied by nicolas on topic New orders not taking the price of the 'variant'
Hi,
This is most likely caused by a view override of the product page layout. In HikaShop 6.4.0, the product page templates were restructured so that the form element is no longer wrapping the entire product page. If you have a view override of the product page layout (show_default.php or similar) from before 6.4.0, it may be missing the form element that the current version expects.
You can check this in the HikaShop backend by going to Display > Views and looking for overrides of files starting with "show_" in the product view. If you have overrides there, you can use the "diff" button to compare your override with the current default template and see what changed.
As a quick test, you can temporarily rename the folder templates/YOUR_TEMPLATE/html/com_hikashop/product/ to confirm that the default view files of the product page work correctly. If that fixes the issue, you will need to update one or several of the view overrides in that folder to match the new template structure.
This is most likely caused by a view override of the product page layout. In HikaShop 6.4.0, the product page templates were restructured so that the form element is no longer wrapping the entire product page. If you have a view override of the product page layout (show_default.php or similar) from before 6.4.0, it may be missing the form element that the current version expects.
You can check this in the HikaShop backend by going to Display > Views and looking for overrides of files starting with "show_" in the product view. If you have overrides there, you can use the "diff" button to compare your override with the current default template and see what changed.
As a quick test, you can temporarily rename the folder templates/YOUR_TEMPLATE/html/com_hikashop/product/ to confirm that the default view files of the product page work correctly. If that fixes the issue, you will need to update one or several of the view overrides in that folder to match the new template structure.
The following user(s) said Thank You: Scramble ITS
Please Log in or Create an account to join the conversation.
- Scramble ITS
-
Topic Author
- Offline
Less
More
- Posts: 30
- Thank you received: 4
5 months 1 week ago #371486
by Scramble ITS
Replied by Scramble ITS on topic New orders not taking the price of the 'variant'
This was it. Thanks.
The following user(s) said Thank You: nicolas
Please Log in or Create an account to join the conversation.
Time to create page: 0.347 seconds