HikaShop Filter Module

marketplace_name

Your cart

The cart is empty

Price Calculations

The "Price Calculations" plugin will allow you to recalculate the price of the product based on what the customer enters / selects on the product page.

Features

You can add several formulas. For each product, the plugin will use the first one it can use.

Use these elements to build your formulas :

  • Numbers (floats and integers)
  • Regular operator, "+", "-", "*" and "/"
  • Product information. For example, the current stock can be used with the {product_quantity}
  • Product custom fields (HikaShop Essential or Business required)
  • Item custom fields (HikaShop Business required)
  • Product unit price, via the tag {price}
  • Some authorized PHP functions (like strlen() or abs())

The calculated price will be used in the cart/checkout/order.

Supports tax calculations automatically.

Supports characteristics/variants (so the {price} tag will take into account which variant was selected).

Supports options (so the {price} tag will take into account the extra costs added by the selected options).

Preview the calculated price directly on the product page, above the add to cart button.

Backend settings


Frontend result


Installation

Easy and quick !

  1. Download the plugin on our website
  2. Install it on your Joomla website (extension manager)
  3. Enable the "HikaShop Price calculations" plugin via the Joomla plugins manager
  4. Edit the plugin and enter the different formulas you want to use in it.
Usage
  • This HikaShop Price Calculations plugin is compatible with all the editions of HikaShop
  • HikaShop 3.0 or newer required
  • Compatible with PHP 5 minimum
  • GPL v3
  • No limit of time
  • No limit of use
Changelog

1.0.7 on the 16th of February 2024

  • When several formulas would use the same custom item field and taxes would be calculated on the values of the custom item field, if the matching formula would not be the first one, the plugin would previously add the tax on the custom item field value once per formula before the matching formula.

1.0.6 on the 10th of January 2024

  • When a custom item field is of the checkbox or multiple dropdown type, if the user selects several choices, the value of each choice selected will now be summed up to become the value of the field in the formula of the price calculations plugin. So basically, if someone selects option A with a value of 2, and option B with a value of 3, and the product has a base price of 10, if the formula is {price}+{customfield} the result will be 10+(2+3) = 15

1.0.5 on the 26th of October 2023

  • On the product details page, the calculated price could be calculated with the values coming from the custom fields not taking into account the taxes even though it should be with taxes for products with variants in some cases.

1.0.4 on the 15th of September 2023

  • On the product details page, the calculated price could be without taxes even though it should be with taxes for products with variants in some cases.

1.0.3 on the 23rd of august 2023

  • The plugin didn't apply the formula properly on the product page when the {cart_product_quantity} tag was used and the quantity input of the product was hidden.
  • We've added the boolval and empty functions support to the calculations plugin.

1.0.2 on the 11th of July 2023

  • We've fixed a calculation issue on the product page in some cases.

1.0.1 on the 16th of September 2022

  • The price calculations plugin now properly take into account the options selected on the product page for the calculated price display.
  • We fixed an issue when having several products using the same formula in the cart.

1.0.0 on the 11th June 2022

  • Initial release of the plugin
hikashop-price-formule1
€ 30,00 A tax rate (between 17% and 27% based on your country) will be added if your address is in the European Union and that you don't provide a valid VAT number or if your address is in France as per the European Union law.

Specifications

HikaShop
Integration
Joomla 2.5 and up, HikaShop 3.0.0 and up