Price Calculations plugin not working on product page

  • Posts: 7
  • Thank you received: 0
  • Hikashop Business
1 week 3 days ago #373103

-- HikaShop version -- : 6.5.2
-- Joomla version -- : 6.1.3
-- PHP version -- : 8.3.33
-- Browser(s) name and version -- : Safari 26.5.2
-- Error-message(debug-mod must be tuned on) -- : Cannot see one.

Hi, I’ve purchased and installed the Price Calculations plugin to add a percentage markup on all unit prices. I’ve added – {price} * 1.2 – under ‘Formula’. The percentage markup has been added to the checkout and works correctly, but it’s not displaying/working on the product page unit price or total. I did see reference to the AJAX, but I’m not a developer, can you help to resolve this and point me in the right direction to fix this.
Many thanks
TCWS

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

  • Posts: 86081
  • Thank you received: 14189
  • MODERATOR
1 week 3 days ago #373110

Hi,

The calculated price is usually displayed after a user selects / enters something in a custom item field. In your case, you're using the plugin without any custom item field, which is unconventional and not something the plugin was made for in the first place.

If you want to have an automatic markup on prices, you don't need this plugin. Create a custom product field of the type "text" via the menu Display>Custom fields in order to store the price of the products before the markup. Then, create a mass action (menu System>Mass actions) with triggers after a product is created / updated, and an action "update the values" on the price_value column, with the "operation" mode and the value "{product.xxx}*1.2" where xxx is the column name of your custom product field.
Then, in each product, you can configure the original price in your custom product field (near the end of the product edit form) and when you'll save, the mass action will auto fill the product price with the markup. It will work everywhere: listing, product page, cart, checkout, etc.

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

  • Posts: 7
  • Thank you received: 0
  • Hikashop Business
1 week 3 days ago #373116

Thank you Nicolas, I will have a go at setting this up and using the mass action.

Many thanks
TCWS

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

Time to create page: 0.055 seconds
Powered by Kunena Forum