New orders not taking the price of the 'variant'

  • Posts: 26
  • Thank you received: 2
  • Hikaserial Subscription Hikashop Business
3 hours 34 minutes ago #371354

-- 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?

Please Log in or Create an account to join the conversation.

  • Posts: 85391
  • Thank you received: 13954
  • MODERATOR
51 minutes ago #371358

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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum