[Skip to main content](#vessel-content)

#   Optional service multiplying by tire quantity instead of charging once per vehic

##

- **[pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")**
- [![pabloarias's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57991-pabloarias "View pabloarias's Profile") Topic Author
- [ Offline](/forum/user/57991-pabloarias)

Less More

- Posts: 8
- Thank you received: 0
- [](https://www.pabloarias.eu/)
-

10 months 3 weeks ago -  10 months 3 weeks ago [\#369987](#369987) by [pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")  *[Optional service multiplying by tire quantity instead of charging once per vehic](/forum/26-product-category-display/910026-optional-service-multiplying-by-tire-quantity-instead-of-charging-once-per-vehic#369987 "Hello,  We have a tire shop configured with HikaShop where customers can purchase tires and additional services. Most services are charged per tire unit (mounting, nitrogen inflation, etc.), but we have one specific service that should be charged once per vehicle, regardless of tire quantity: &quot;Steering alignment/geometry for passenger cars&quot;.  Current problem: This service is configured as a product characteristic, and when a customer adds 2 tires to cart and selects this optional service, the system multiplies it by 2 (85.95 € × 2 = 171.90 €), when it should only charge 85.95 € once, as this service is performed on the vehicle as a whole, not per individual tire.  What we need:  This service should remain optional (not mandatory) It should be visible always, even when buying a single tire When selected, it should add only 1 unit to cart, no matter how many tires are being purchased All other services should continue working per tire unit as they do now  Question: How should we configure this service to charge it once per vehicle instead of multiplying by tire quantity? Should we use a different configuration method (option instead of characteristic, or separate product)?  Please see attached screenshots:  Product frontend view showing the service Cart showing the service multiplied by 2 Backend product configuration  Thank you for your assistance.")* was created by *[pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")*

Hello,

We have a tire shop configured with HikaShop where customers can purchase tires and additional services. Most services are charged per tire unit (mounting, nitrogen inflation, etc.), but we have one specific service that should be charged once per vehicle, regardless of tire quantity: "Steering alignment/geometry for passenger cars".

Current problem: This service is configured as a product characteristic, and when a customer adds 2 tires to cart and selects this optional service, the system multiplies it by 2 (85.95 € × 2 = 171.90 €), when it should only charge 85.95 € once, as this service is performed on the vehicle as a whole, not per individual tire.

What we need:

This service should remain optional (not mandatory)
It should be visible always, even when buying a single tire
When selected, it should add only 1 unit to cart, no matter how many tires are being purchased
All other services should continue working per tire unit as they do now

Question: How should we configure this service to charge it once per vehicle instead of multiplying by tire quantity? Should we use a different configuration method (option instead of characteristic, or separate product)?

Please see attached screenshots:

Product frontend view showing the service
Cart showing the service multiplied by 2
Backend product configuration

Thank you for your assistance.

---

Pablo Arias

[ www.pabloarias.eu](http://www.pabloarias.eu)

- [ ![1-product-frontend-view.jpg](/forum/attachment/61119) ](/forum/attachment/61119 "...ntend-view.jpg") [ ](/forum/attachment/61119?download=1 "...ntend-view.jpg")
- [ ![2-cart-showing-service-by-2.jpg](/forum/attachment/61120) ](/forum/attachment/61120 "...rvice-by-2.jpg") [ ](/forum/attachment/61120?download=1 "...rvice-by-2.jpg")
- [ ![3-backend-product.jpg](/forum/attachment/61121) ](/forum/attachment/61121 "...nd-product.jpg") [ ](/forum/attachment/61121?download=1 "...nd-product.jpg")

Last edit: 10 months 3 weeks ago by [pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile"). Reason: Small improvement

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MTAwMjYtb3B0aW9uYWwtc2VydmljZS1tdWx0aXBseWluZy1ieS10aXJlLXF1YW50aXR5LWluc3RlYWQtb2YtY2hhcmdpbmctb25jZS1wZXItdmVoaWM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 months 3 weeks ago [\#369989](#369989) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Optional service multiplying by tire quantity instead of charging once per vehic](/forum/26-product-category-display/910026-optional-service-multiplying-by-tire-quantity-instead-of-charging-once-per-vehic#369989 "Hello,  We have a tire shop configured with HikaShop where customers can purchase tires and additional services. Most services are charged per tire unit (mounting, nitrogen inflation, etc.), but we have one specific service that should be charged once per vehicle, regardless of tire quantity: &quot;Steering alignment/geometry for passenger cars&quot;.  Current problem: This service is configured as a product characteristic, and when a customer adds 2 tires to cart and selects this optional service, the system multiplies it by 2 (85.95 € × 2 = 171.90 €), when it should only charge 85.95 € once, as this service is performed on the vehicle as a whole, not per individual tire.  What we need:  This service should remain optional (not mandatory) It should be visible always, even when buying a single tire When selected, it should add only 1 unit to cart, no matter how many tires are being purchased All other services should continue working per tire unit as they do now  Question: How should we configure this service to charge it once per vehicle instead of multiplying by tire quantity? Should we use a different configuration method (option instead of characteristic, or separate product)?  Please see attached screenshots:  Product frontend view showing the service Cart showing the service multiplied by 2 Backend product configuration  Thank you for your assistance.")*

Hi,

Yes, you can make an extra fee behave like a fixed charge per order instead of multiplying with quantity in HikaShop by using the Price Calculations plugin together with a custom item field. The idea is that instead of relying on a standard product option (which always multiplies by product quantity), you create a custom field for the extra service and then use the price calculations plugin to inject a flat amount into the price formula based on that field. This lets you apply the extra fee once per order even if the product quantity increases.

The key steps are:

Add a custom item field for the optional service:
[ www.hikashop.com/support/documentation/4...shop-field-form.html](https://www.hikashop.com/support/documentation/42-hikashop-field-form.html)

Use the Price Calculations plugin (which supports formulas using custom field tags) to define a rule that adds a flat fee when that field is selected, without multiplying by quantity:
[ www.hikashop.com/marketplace/product/148...ce-calculations.html](https://www.hikashop.com/marketplace/product/148-price-calculations.html)

This gives you much more flexibility than standard options and avoids the quantity multiplication.

The following user(s) said Thank You: [pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MTAwMjYtb3B0aW9uYWwtc2VydmljZS1tdWx0aXBseWluZy1ieS10aXJlLXF1YW50aXR5LWluc3RlYWQtb2YtY2hhcmdpbmctb25jZS1wZXItdmVoaWM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")**
- [![pabloarias's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57991-pabloarias "View pabloarias's Profile") Topic Author
- [ Offline](/forum/user/57991-pabloarias)

Less More

- Posts: 8
- Thank you received: 0
- [](https://www.pabloarias.eu/)
-

10 months 2 weeks ago [\#370013](#370013) by [pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")  Replied by *[pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")* on topic *[Optional service multiplying by tire quantity instead of charging once per vehic](/forum/26-product-category-display/910026-optional-service-multiplying-by-tire-quantity-instead-of-charging-once-per-vehic#370013 "Hello,  We have a tire shop configured with HikaShop where customers can purchase tires and additional services. Most services are charged per tire unit (mounting, nitrogen inflation, etc.), but we have one specific service that should be charged once per vehicle, regardless of tire quantity: &quot;Steering alignment/geometry for passenger cars&quot;.  Current problem: This service is configured as a product characteristic, and when a customer adds 2 tires to cart and selects this optional service, the system multiplies it by 2 (85.95 € × 2 = 171.90 €), when it should only charge 85.95 € once, as this service is performed on the vehicle as a whole, not per individual tire.  What we need:  This service should remain optional (not mandatory) It should be visible always, even when buying a single tire When selected, it should add only 1 unit to cart, no matter how many tires are being purchased All other services should continue working per tire unit as they do now  Question: How should we configure this service to charge it once per vehicle instead of multiplying by tire quantity? Should we use a different configuration method (option instead of characteristic, or separate product)?  Please see attached screenshots:  Product frontend view showing the service Cart showing the service multiplied by 2 Backend product configuration  Thank you for your assistance.")*

Hello,

I'm using the Price Calculations plugin to add an optional alignment service to tire products. The formula uses a division operation to charge the service once per order (not per tire), but this is causing tax calculation inconsistencies.

We are using Hikashop: 6.1.1

Plugin formula: {price} + ({alignment_service} / {cart_product_quantity})

Custom field configuration:

Table: item
Column: alignment_service
Values: 0, 42.975, 72.00 (without tax)
Tax: 21% Spanish VAT
"Show prices with tax" = Yes

The problem:

With 2 tires + alignment (value 42.975€):

If field value = 42.975€ (without tax):

Product page: 445.40€ (❌ missing ~4.51€ tax on alignment)
Should show: 449.91€
Checkout total: 899.82€ ✓ (correct)
Checkout unit price: 475.67€ (❌ should be 449.91€)

If field value = 52.01€ (with tax):

Product page: 449.91€ ✓ (correct)
Checkout total: 910.74€ (❌ tax applied twice, +10.92€)
Should be: 899.82€

Question:

How should I configure the custom field value (with or without tax) when using division in the formula? The division by quantity seems to cause tax calculation issues.

Expected behavior:

With 2 tires + alignment (one axle) - field value 42.975€ (no tax):
Product page: 449.91€ (with tax)
Calculation: (350.34 + 21.49) × 1.21 = 449.91€
Checkout unit price: 449.91€ (with tax)
Checkout total: 899.82€
Calculation: 449.91 × 2 = 899.82€

Attached files:

plugin.png: Price Calculations plugin configuration
field.png: Custom field "alignment_service" configuration
imagen1.png: Product page, field value 42.975€ (without tax)
imagen2.png: Checkout, field value 42.975€ (without tax)
imagen3.png: Product page, field value 52.01€ (with tax)
imagen4.png: Checkout, field value 52.01€ (with tax)

Could you please advise on the correct configuration for this scenario?

Thank you for your support.

---

Pablo Arias

[ www.pabloarias.eu](http://www.pabloarias.eu)

- [ ![imagen4.png](/forum/attachment/61129) ](/forum/attachment/61129 "imagen4.png") [ ](/forum/attachment/61129?download=1 "imagen4.png")
- [ ![imagen3.png](/forum/attachment/61130) ](/forum/attachment/61130 "imagen3.png") [ ](/forum/attachment/61130?download=1 "imagen3.png")
- [ ![imagen2.png](/forum/attachment/61131) ](/forum/attachment/61131 "imagen2.png") [ ](/forum/attachment/61131?download=1 "imagen2.png")
- [ ![imagen1.png](/forum/attachment/61132) ](/forum/attachment/61132 "imagen1.png") [ ](/forum/attachment/61132?download=1 "imagen1.png")
- [ ![plugin.png](/forum/attachment/61133) ](/forum/attachment/61133 "plugin.png") [ ](/forum/attachment/61133?download=1 "plugin.png")
- [ ![field.png](/forum/attachment/61134) ](/forum/attachment/61134 "field.png") [ ](/forum/attachment/61134?download=1 "field.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MTAwMjYtb3B0aW9uYWwtc2VydmljZS1tdWx0aXBseWluZy1ieS10aXJlLXF1YW50aXR5LWluc3RlYWQtb2YtY2hhcmdpbmctb25jZS1wZXItdmVoaWM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 months 2 weeks ago -  10 months 2 weeks ago [\#370015](#370015) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Optional service multiplying by tire quantity instead of charging once per vehic](/forum/26-product-category-display/910026-optional-service-multiplying-by-tire-quantity-instead-of-charging-once-per-vehic#370015 "Hello,  We have a tire shop configured with HikaShop where customers can purchase tires and additional services. Most services are charged per tire unit (mounting, nitrogen inflation, etc.), but we have one specific service that should be charged once per vehicle, regardless of tire quantity: &quot;Steering alignment/geometry for passenger cars&quot;.  Current problem: This service is configured as a product characteristic, and when a customer adds 2 tires to cart and selects this optional service, the system multiplies it by 2 (85.95 € × 2 = 171.90 €), when it should only charge 85.95 € once, as this service is performed on the vehicle as a whole, not per individual tire.  What we need:  This service should remain optional (not mandatory) It should be visible always, even when buying a single tire When selected, it should add only 1 unit to cart, no matter how many tires are being purchased All other services should continue working per tire unit as they do now  Question: How should we configure this service to charge it once per vehicle instead of multiplying by tire quantity? Should we use a different configuration method (option instead of characteristic, or separate product)?  Please see attached screenshots:  Product frontend view showing the service Cart showing the service multiplied by 2 Backend product configuration  Thank you for your assistance.")*

Hi,

Thank you for the detailed report, that really helps understand the issue. However, the screenshots didn't work, somehow.

The problem you're experiencing is due to how tax is being applied when using division in the formula. When you divide by {cart_product_quantity}, the tax calculation becomes inconsistent between the product page display and the checkout total.

Here's what's happening:
When "Show prices with tax" is enabled, the plugin applies tax to your custom field value (alignment_service) before it's used in the formula. But since you're dividing by quantity, the taxed amount gets divided, and then at checkout, the line total is calculated differently, causing the discrepancy.

Suggested workaround:
Try using the alignment value without tax (42.975€) in your custom field, and manually add the tax in the formula: Code:

{price} + ({alignment_service} * 1.21 / {cart_product_quantity})

This way, the tax is applied to the full alignment amount before the division, which should give you consistent results.

Could you please test this and let us know if it resolves the discrepancy? If this works, we can look into adding better support for dynamic tax rates in the plugin, such as a {tax_rate} tag that would automatically use the product's tax rate.

Last edit: 10 months 2 weeks ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MTAwMjYtb3B0aW9uYWwtc2VydmljZS1tdWx0aXBseWluZy1ieS10aXJlLXF1YW50aXR5LWluc3RlYWQtb2YtY2hhcmdpbmctb25jZS1wZXItdmVoaWM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")**
- [![pabloarias's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57991-pabloarias "View pabloarias's Profile") Topic Author
- [ Offline](/forum/user/57991-pabloarias)

Less More

- Posts: 8
- Thank you received: 0
- [](https://www.pabloarias.eu/)
-

10 months 2 weeks ago [\#370019](#370019) by [pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")  Replied by *[pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")* on topic *[Optional service multiplying by tire quantity instead of charging once per vehic](/forum/26-product-category-display/910026-optional-service-multiplying-by-tire-quantity-instead-of-charging-once-per-vehic#370019 "Hello,  We have a tire shop configured with HikaShop where customers can purchase tires and additional services. Most services are charged per tire unit (mounting, nitrogen inflation, etc.), but we have one specific service that should be charged once per vehicle, regardless of tire quantity: &quot;Steering alignment/geometry for passenger cars&quot;.  Current problem: This service is configured as a product characteristic, and when a customer adds 2 tires to cart and selects this optional service, the system multiplies it by 2 (85.95 € × 2 = 171.90 €), when it should only charge 85.95 € once, as this service is performed on the vehicle as a whole, not per individual tire.  What we need:  This service should remain optional (not mandatory) It should be visible always, even when buying a single tire When selected, it should add only 1 unit to cart, no matter how many tires are being purchased All other services should continue working per tire unit as they do now  Question: How should we configure this service to charge it once per vehicle instead of multiplying by tire quantity? Should we use a different configuration method (option instead of characteristic, or separate product)?  Please see attached screenshots:  Product frontend view showing the service Cart showing the service multiplied by 2 Backend product configuration  Thank you for your assistance.")*

The change you suggested doesn't seem to affect the cart calculations at all. The product page calculations remain correct, but the cart hasn't changed from the previous version. Let me explain the issues I'm detecting in the cart:

The amount of 481,13 € comes from the following operation (all prices with VAT included):

481,13 € - 398,15 € (tire price) = 82,98 €
82,98 € - 47,90 € (mounting × 2) - 3,62 € (eco-tax × 2) = 31,46 €
31,46 € - 26,00 € (alignment / 2) = 5,46 €

These extra 5,46 € come from adding the alignment VAT twice: (52 × 21 / 100) / 2 = 5,46 €

So the alignment VAT is being duplicated.

Additionally, the prices marked with red circles (images in attachments) are very confusing not only for the user but also for us.

I would like to know if the product list in the cart table could be improved so that the unit price shown is for a single tire with its individual options, i.e., tire price + eco-tax + mounting, which in this case would be 423,91 €, and below it a line for alignment (a unit cost since it's per vehicle) of 52 €.

Ideally, the cart should look like this:

"Tire Title" + tire price (398,15 €) ... Unit price 423,91 € ... Qty 2 ... Total 847,82 €

Alignment/wheel geometry: Yes, one axle (+ 52,00 €) ... Unit price 52,00 € ... Qty 1 ... Total 52,00 €

─────────────────────────────────────────────────────────────── 

Total ............................ 899,82 €

VAT .............................. 156,17 €

Amount without VAT ............... 743,65 €

I'm attaching screenshots of the current cart along with screenshots of the plugin configuration and the custom field.

Thank you for your support.

---

Pablo Arias

[ www.pabloarias.eu](http://www.pabloarias.eu)

- [ ![imagen5.png](/forum/attachment/61135) ](/forum/attachment/61135 "imagen5.png") [ ](/forum/attachment/61135?download=1 "imagen5.png")
- [ ![plugin&#95;2026-01-16.png](/forum/attachment/61136) ](/forum/attachment/61136 "...2026-01-16.png") [ ](/forum/attachment/61136?download=1 "...2026-01-16.png")
- [ ![field&#95;2026-01-16.png](/forum/attachment/61137) ](/forum/attachment/61137 "...2026-01-16.png") [ ](/forum/attachment/61137?download=1 "...2026-01-16.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MTAwMjYtb3B0aW9uYWwtc2VydmljZS1tdWx0aXBseWluZy1ieS10aXJlLXF1YW50aXR5LWluc3RlYWQtb2YtY2hhcmdpbmctb25jZS1wZXItdmVoaWM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 months 2 weeks ago [\#370024](#370024) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Optional service multiplying by tire quantity instead of charging once per vehic](/forum/26-product-category-display/910026-optional-service-multiplying-by-tire-quantity-instead-of-charging-once-per-vehic#370024 "Hello,  We have a tire shop configured with HikaShop where customers can purchase tires and additional services. Most services are charged per tire unit (mounting, nitrogen inflation, etc.), but we have one specific service that should be charged once per vehicle, regardless of tire quantity: &quot;Steering alignment/geometry for passenger cars&quot;.  Current problem: This service is configured as a product characteristic, and when a customer adds 2 tires to cart and selects this optional service, the system multiplies it by 2 (85.95 € × 2 = 171.90 €), when it should only charge 85.95 € once, as this service is performed on the vehicle as a whole, not per individual tire.  What we need:  This service should remain optional (not mandatory) It should be visible always, even when buying a single tire When selected, it should add only 1 unit to cart, no matter how many tires are being purchased All other services should continue working per tire unit as they do now  Question: How should we configure this service to charge it once per vehicle instead of multiplying by tire quantity? Should we use a different configuration method (option instead of characteristic, or separate product)?  Please see attached screenshots:  Product frontend view showing the service Cart showing the service multiplied by 2 Backend product configuration  Thank you for your assistance.")*

Hi,

Thank you for reporting this issue. We’ve looked into it today. The problem is relative complex and this lead us to add several things to the plugin. We've released just now a fix, among other things, in version 2.2.0 of the Price Calculations plugin.

THE PROBLEM:
When using division in formulas like {price} + ({alignment_service} / {cart_product_quantity}), the cart_product_quantity field was being incorrectly treated as a price and taxed, which broke the calculation.

THE SOLUTION:
The plugin now automatically detects fields that are clearly not prices (quantities, IDs, counts, etc.) and excludes them from taxation. This means your formula will now work correctly.

YOUR FORMULA:
Simply use: {price} + ({alignment_service} / {cart_product_quantity})
Make sure your alignment_service custom field stores the value WITHOUT tax (€42.975 in your case). The plugin will:
1. Tax the alignment_service value (€42.975 -&gt; €52)
2. NOT tax the cart_product_quantity (stays as 2)
3. Calculate: €423.91 + (€52 / 2) = €449.91 per tire
4. Cart total: €449.91 * 2 = €899.82

ADDITIONAL NEW FEATURES:
We also added new modifiers that may be useful:
- :optional:VALUE - Use a default value if a field is missing (e.g., {extra_fee:optional:0})
- :withtax - Force taxation on a field even if it’s auto-detected as non-price

Please update to version 2.2.0, by downloading the latest version of the plugin via the same download link you got after your purchase, and let us know if you have any questions.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MTAwMjYtb3B0aW9uYWwtc2VydmljZS1tdWx0aXBseWluZy1ieS10aXJlLXF1YW50aXR5LWluc3RlYWQtb2YtY2hhcmdpbmctb25jZS1wZXItdmVoaWM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")**
- [![pabloarias's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57991-pabloarias "View pabloarias's Profile") Topic Author
- [ Offline](/forum/user/57991-pabloarias)

Less More

- Posts: 8
- Thank you received: 0
- [](https://www.pabloarias.eu/)
-

10 months 2 weeks ago [\#370050](#370050) by [pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")  Replied by *[pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")* on topic *[Optional service multiplying by tire quantity instead of charging once per vehic](/forum/26-product-category-display/910026-optional-service-multiplying-by-tire-quantity-instead-of-charging-once-per-vehic#370050 "Hello,  We have a tire shop configured with HikaShop where customers can purchase tires and additional services. Most services are charged per tire unit (mounting, nitrogen inflation, etc.), but we have one specific service that should be charged once per vehicle, regardless of tire quantity: &quot;Steering alignment/geometry for passenger cars&quot;.  Current problem: This service is configured as a product characteristic, and when a customer adds 2 tires to cart and selects this optional service, the system multiplies it by 2 (85.95 € × 2 = 171.90 €), when it should only charge 85.95 € once, as this service is performed on the vehicle as a whole, not per individual tire.  What we need:  This service should remain optional (not mandatory) It should be visible always, even when buying a single tire When selected, it should add only 1 unit to cart, no matter how many tires are being purchased All other services should continue working per tire unit as they do now  Question: How should we configure this service to charge it once per vehicle instead of multiplying by tire quantity? Should we use a different configuration method (option instead of characteristic, or separate product)?  Please see attached screenshots:  Product frontend view showing the service Cart showing the service multiplied by 2 Backend product configuration  Thank you for your assistance.")*

Hello,

I've just tested the new version and I confirm that the VAT issue is completely resolved. The calculations are now correct both on the product page and in the cart.
The prices are calculated perfectly:

Unit price: 449,91 €
Total (2 tires): 899,82 €
The alignment VAT is no longer duplicated

Excellent work, the plugin works exactly as I needed.
Now I would like to ask you about the cart display I mentioned in my previous message. Would it be possible to display the options (Eco-tax, Mounting, Alignment) as independent lines in the cart table instead of as text below the product name?
Can this be configured in Hikashop or would it require modifying the cart template?
Thank you again for your help and for the quick solution.

---

Pablo Arias

[ www.pabloarias.eu](http://www.pabloarias.eu)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MTAwMjYtb3B0aW9uYWwtc2VydmljZS1tdWx0aXBseWluZy1ieS10aXJlLXF1YW50aXR5LWluc3RlYWQtb2YtY2hhcmdpbmctb25jZS1wZXItdmVoaWM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 months 2 weeks ago [\#370055](#370055) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Optional service multiplying by tire quantity instead of charging once per vehic](/forum/26-product-category-display/910026-optional-service-multiplying-by-tire-quantity-instead-of-charging-once-per-vehic#370055 "Hello,  We have a tire shop configured with HikaShop where customers can purchase tires and additional services. Most services are charged per tire unit (mounting, nitrogen inflation, etc.), but we have one specific service that should be charged once per vehicle, regardless of tire quantity: &quot;Steering alignment/geometry for passenger cars&quot;.  Current problem: This service is configured as a product characteristic, and when a customer adds 2 tires to cart and selects this optional service, the system multiplies it by 2 (85.95 € × 2 = 171.90 €), when it should only charge 85.95 € once, as this service is performed on the vehicle as a whole, not per individual tire.  What we need:  This service should remain optional (not mandatory) It should be visible always, even when buying a single tire When selected, it should add only 1 unit to cart, no matter how many tires are being purchased All other services should continue working per tire unit as they do now  Question: How should we configure this service to charge it once per vehicle instead of multiplying by tire quantity? Should we use a different configuration method (option instead of characteristic, or separate product)?  Please see attached screenshots:  Product frontend view showing the service Cart showing the service multiplied by 2 Backend product configuration  Thank you for your assistance.")*

Hi,

Yes, you can do that with the cart fees plugin:
[ www.hikashop.com/marketplace/product/279-cart-fee.html](https://www.hikashop.com/marketplace/product/279-cart-fee.html)
Instead of creating a product and adding that product as an option to the main product to add the extra tax amount, you can create a custom field of the table "product" in order to provide the value you want for it in each product.
Then, in the cart fees plugin settings, you can use a formula to calculate the fee. For example :
{product.xxx}
where xxx is the column name of the cusom product field.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MTAwMjYtb3B0aW9uYWwtc2VydmljZS1tdWx0aXBseWluZy1ieS10aXJlLXF1YW50aXR5LWluc3RlYWQtb2YtY2hhcmdpbmctb25jZS1wZXItdmVoaWM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")**
- [![pabloarias's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57991-pabloarias "View pabloarias's Profile") Topic Author
- [ Offline](/forum/user/57991-pabloarias)

Less More

- Posts: 8
- Thank you received: 0
- [](https://www.pabloarias.eu/)
-

10 months 1 week ago [\#370094](#370094) by [pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")  Replied by *[pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")* on topic *[Optional service multiplying by tire quantity instead of charging once per vehic](/forum/26-product-category-display/910026-optional-service-multiplying-by-tire-quantity-instead-of-charging-once-per-vehic#370094 "Hello,  We have a tire shop configured with HikaShop where customers can purchase tires and additional services. Most services are charged per tire unit (mounting, nitrogen inflation, etc.), but we have one specific service that should be charged once per vehicle, regardless of tire quantity: &quot;Steering alignment/geometry for passenger cars&quot;.  Current problem: This service is configured as a product characteristic, and when a customer adds 2 tires to cart and selects this optional service, the system multiplies it by 2 (85.95 € × 2 = 171.90 €), when it should only charge 85.95 € once, as this service is performed on the vehicle as a whole, not per individual tire.  What we need:  This service should remain optional (not mandatory) It should be visible always, even when buying a single tire When selected, it should add only 1 unit to cart, no matter how many tires are being purchased All other services should continue working per tire unit as they do now  Question: How should we configure this service to charge it once per vehicle instead of multiplying by tire quantity? Should we use a different configuration method (option instead of characteristic, or separate product)?  Please see attached screenshots:  Product frontend view showing the service Cart showing the service multiplied by 2 Backend product configuration  Thank you for your assistance.")*

I didn't explained myself clearly.

I don't need to add additional fees to the cart—the Cart Fee plugin doesn't solve my problem.

My problem is with the cart display.

Current situation:

Unit price shown: 481,13 €
Quantity: 2
Total: 962,26 €

But the math doesn't add up: 481,13 € × 2 ≠ 962,26 €

What I need:

Unit price shown: 449,91 € (the actual price of 1 tire with all its services)
Quantity: 2
Total: 899,82 €

And the options (Eco-tax, Mounting, Alignment) displayed as separate rows in the table instead of text below the product, so the customer can clearly see what they're paying for.

Does this require modifying the cart template (/templates/xxx/html/com_hikashop/checkout/cart.php)?

Thanks

---

Pablo Arias

[ www.pabloarias.eu](http://www.pabloarias.eu)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MTAwMjYtb3B0aW9uYWwtc2VydmljZS1tdWx0aXBseWluZy1ieS10aXJlLXF1YW50aXR5LWluc3RlYWQtb2YtY2hhcmdpbmctb25jZS1wZXItdmVoaWM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 months 1 week ago [\#370099](#370099) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Optional service multiplying by tire quantity instead of charging once per vehic](/forum/26-product-category-display/910026-optional-service-multiplying-by-tire-quantity-instead-of-charging-once-per-vehic#370099 "Hello,  We have a tire shop configured with HikaShop where customers can purchase tires and additional services. Most services are charged per tire unit (mounting, nitrogen inflation, etc.), but we have one specific service that should be charged once per vehicle, regardless of tire quantity: &quot;Steering alignment/geometry for passenger cars&quot;.  Current problem: This service is configured as a product characteristic, and when a customer adds 2 tires to cart and selects this optional service, the system multiplies it by 2 (85.95 € × 2 = 171.90 €), when it should only charge 85.95 € once, as this service is performed on the vehicle as a whole, not per individual tire.  What we need:  This service should remain optional (not mandatory) It should be visible always, even when buying a single tire When selected, it should add only 1 unit to cart, no matter how many tires are being purchased All other services should continue working per tire unit as they do now  Question: How should we configure this service to charge it once per vehicle instead of multiplying by tire quantity? Should we use a different configuration method (option instead of characteristic, or separate product)?  Please see attached screenshots:  Product frontend view showing the service Cart showing the service multiplied by 2 Backend product configuration  Thank you for your assistance.")*

Hi,

Yes, in that case, you'll have to customize the display with a view override:
[ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)
Note that it is the view file checkout / show_block_cart.php that you want to modify.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MTAwMjYtb3B0aW9uYWwtc2VydmljZS1tdWx0aXBseWluZy1ieS10aXJlLXF1YW50aXR5LWluc3RlYWQtb2YtY2hhcmdpbmctb25jZS1wZXItdmVoaWM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.088 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
