- Posts: 44
- Thank you received: 1
Removal of plus sign from variant pricing
14 years 1 month ago #63816
by PhilP
Removal of plus sign from variant pricing was created by PhilP
Hi,
We make use of variants with additional pricing compared to the main product. This additional pricing is usually positive.
However, we now have a situation where we would like to have a variant with a negative price i.e. a discount.
Hikashop manages this perfectly well (see attached image) but the +- in the additional price display is a little confusing.
Is there a way to turn off the + sign in this particular display, so that if the additional price is positive there will be no sign but if the additional price is negative, there will be a - sign?
Regards
PhilP
We make use of variants with additional pricing compared to the main product. This additional pricing is usually positive.
However, we now have a situation where we would like to have a variant with a negative price i.e. a discount.
Hikashop manages this perfectly well (see attached image) but the +- in the additional price display is a little confusing.
Is there a way to turn off the + sign in this particular display, so that if the additional price is positive there will be no sign but if the additional price is negative, there will be a - sign?
Regards
PhilP
Please Log in or Create an account to join the conversation.
14 years 1 month ago #63944
by nicolas
Replied by nicolas on topic Re: Removal of plus sign from variant pricing
Hi,
You can replace the file components/com_hikashop/views/product/tmpl/option.php with the one in this archive.
You can replace the file components/com_hikashop/views/product/tmpl/option.php with the one in this archive.
The following user(s) said Thank You: PhilP
Please Log in or Create an account to join the conversation.
Time to create page: 0.156 seconds