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

#   can I apply a discount to just one variant?

##

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

Less More

- Posts: 23
- Thank you received: 0
-
-

14 years 1 month ago [\#68229](#68229) by [Lemon Tree](/forum/user/9739-lemon-tree "View Lemon Tree's Profile")  *[can I apply a discount to just one variant?](/forum/4-how-to/68229-can-i-apply-a-discount-to-just-one-variant#68229 "I am testing the free version of HikaShop, so I cannot test discount restrictions. The documentation says I will be able to apply a discount to an individual product in a commercial version. But...")* was created by *[Lemon Tree](/forum/user/9739-lemon-tree "View Lemon Tree's Profile")*

I am testing the free version of HikaShop, so I cannot test discount restrictions. The documentation says I will be able to apply a discount to an individual product in a commercial version. But does this mean I can apply it to an individual variant? For example, I have books with variants for paperbacks and hardcovers. Will I be able to apply a discount to the paperback version only of a particular book (but the hardcover version will not be discounted)?
Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MjI5LWNhbi1pLWFwcGx5LWEtZGlzY291bnQtdG8tanVzdC1vbmUtdmFyaWFudD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

14 years 1 month ago [\#68408](#68408) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: can I apply a discount to just one variant?](/forum/4-how-to/68229-can-i-apply-a-discount-to-just-one-variant#68408 "I am testing the free version of HikaShop, so I cannot test discount restrictions. The documentation says I will be able to apply a discount to an individual product in a commercial version. But...")*

Hi,

There is no need to apply discounts to specific variants of a product. You can directly change its price via the "manage variants" area of the product edition page, even with the Starter edition.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MjI5LWNhbi1pLWFwcGx5LWEtZGlzY291bnQtdG8tanVzdC1vbmUtdmFyaWFudD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 23
- Thank you received: 0
-
-

14 years 4 weeks ago [\#68541](#68541) by [Lemon Tree](/forum/user/9739-lemon-tree "View Lemon Tree's Profile")  Replied by *[Lemon Tree](/forum/user/9739-lemon-tree "View Lemon Tree's Profile")* on topic *[Re: can I apply a discount to just one variant?](/forum/4-how-to/68229-can-i-apply-a-discount-to-just-one-variant#68541 "I am testing the free version of HikaShop, so I cannot test discount restrictions. The documentation says I will be able to apply a discount to an individual product in a commercial version. But...")*

> nicolas wrote: Hi,
>
> There is no need to apply discounts to specific variants of a product. You can directly change its price via the "manage variants" area of the product edition page, even with the Starter edition.

Thanks for replying Nicolas! Just to clarify, I don't want to change the price permanently - I want to put a particular variant "on sale" for a limited period, say 1 month.

I tried adding an additional price via the "manage variants" area so that the product had 2 prices: the normal price, and the "on sale" price. This produced conflicting displays (the product listing and the latest products module displayed the original price, the product detail displayed both prices, when I added it to the cart it displayed the sales price ... all too confusing.)

What I want to achieve is to show the normal price with a strike-through followed by the sales price. I would like this displayed in all places where the price is displayed. So, for example, if the normal price of the paperback is $45.00 but the sale or discounted price is $30.00 so I want the system to show the [strike]$45[/strike] $30.00 . I think this can only be done with discounts, hence my question: can I apply a discount to an individual variant (e.g. the paperback and not the hardcover version of a book).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MjI5LWNhbi1pLWFwcGx5LWEtZGlzY291bnQtdG8tanVzdC1vbmUtdmFyaWFudD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

14 years 4 weeks ago [\#68544](#68544) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: can I apply a discount to just one variant?](/forum/4-how-to/68229-can-i-apply-a-discount-to-just-one-variant#68544 "I am testing the free version of HikaShop, so I cannot test discount restrictions. The documentation says I will be able to apply a discount to an individual product in a commercial version. But...")*

This type of display can indeed be done with discounts. But discounts cannot be added to variants for now.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MjI5LWNhbi1pLWFwcGx5LWEtZGlzY291bnQtdG8tanVzdC1vbmUtdmFyaWFudD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 23
- Thank you received: 0
-
-

14 years 4 weeks ago [\#68554](#68554) by [Lemon Tree](/forum/user/9739-lemon-tree "View Lemon Tree's Profile")  Replied by *[Lemon Tree](/forum/user/9739-lemon-tree "View Lemon Tree's Profile")* on topic *[Re: can I apply a discount to just one variant?](/forum/4-how-to/68229-can-i-apply-a-discount-to-just-one-variant#68554 "I am testing the free version of HikaShop, so I cannot test discount restrictions. The documentation says I will be able to apply a discount to an individual product in a commercial version. But...")*

Ah, sadly, this is a requirement for my client. Without this ability, we may as well continue using Virtuemart where we are listing our paperbacks and hardcovers as individual products. I will come back in 12 months to see whether this feature has been added to HikaShop. (I imagine it would be useful for many people who might have an overstock of products in a particular size or colour, and so would want to put only that variant "on sale").

In the meantime, congratulations on developing such a fine product, and thanks for your support.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MjI5LWNhbi1pLWFwcGx5LWEtZGlzY291bnQtdG8tanVzdC1vbmUtdmFyaWFudD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Renee.Imhoff](/forum/user/10375-renee-imhoff "View Renee.Imhoff's Profile")**
- [![Renee.Imhoff's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/10375-renee-imhoff "View Renee.Imhoff's Profile")
- [ Offline](/forum/user/10375-renee-imhoff)

Less More

- Posts: 17
- Thank you received: 0
-
-

14 years 1 day ago [\#73587](#73587) by [Renee.Imhoff](/forum/user/10375-renee-imhoff "View Renee.Imhoff's Profile")  Replied by *[Renee.Imhoff](/forum/user/10375-renee-imhoff "View Renee.Imhoff's Profile")* on topic *[Re: can I apply a discount to just one variant?](/forum/4-how-to/68229-can-i-apply-a-discount-to-just-one-variant#73587 "I am testing the free version of HikaShop, so I cannot test discount restrictions. The documentation says I will be able to apply a discount to an individual product in a commercial version. But...")*

Hi,

I just purchased the Business Edition, and I am so pleased with all the features. The documentation and forums have been very helpful.

I, too, need to be able to display a single variant as discounted. I can see here that that is not possible, but I'm wondering if there's any way to "fake it" and make it appear as though it has been marked down.

In the example above, if I were to change the price of the variant from $45 to $30, then can I make that line say "Paperback, originally [strike]$45[/strike] (+ $30)"

Any advice is appreciated.

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MjI5LWNhbi1pLWFwcGx5LWEtZGlzY291bnQtdG8tanVzdC1vbmUtdmFyaWFudD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

14 years 1 day ago [\#73801](#73801) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: can I apply a discount to just one variant?](/forum/4-how-to/68229-can-i-apply-a-discount-to-just-one-variant#73801 "I am testing the free version of HikaShop, so I cannot test discount restrictions. The documentation says I will be able to apply a discount to an individual product in a commercial version. But...")*

Hi,

You could do that by creating a custom field of the table "product" in order to be able to enter your text in each product/variant and then display it at the beginning of the listing_price file (editable via the menu Display-&gt;Views) like that:
&lt;?php echo $this-&gt;row-&gt;CUSTOM_FIELD_COLUMN_NAME; ?&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MjI5LWNhbi1pLWFwcGx5LWEtZGlzY291bnQtdG8tanVzdC1vbmUtdmFyaWFudD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 846
- Thank you received: 92
-
-

13 years 4 months ago -  13 years 4 months ago [\#111183](#111183) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  Replied by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")* on topic *[Re: can I apply a discount to just one variant?](/forum/4-how-to/68229-can-i-apply-a-discount-to-just-one-variant#111183 "I am testing the free version of HikaShop, so I cannot test discount restrictions. The documentation says I will be able to apply a discount to an individual product in a commercial version. But...")*

"" This type of display can indeed be done with discounts. But discounts cannot be added to variants for now.""

we should enter in the column of table html code with style id/class ? . what is the best charset when doing that ?

If hikashop is already configure for discount on only a variant item by a personn1. If there is 100 products , how person2 ll detect wich variant is configure for discount ?

If i use variant for discount, we lost the ability to define period of discount ...so Is it possible to use discount for variant with the last version of hikashop 2.1.3 in 27 june 2013 ?

regard's

Last edit: 13 years 4 months ago by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MjI5LWNhbi1pLWFwcGx5LWEtZGlzY291bnQtdG8tanVzdC1vbmUtdmFyaWFudD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 4 months ago [\#111199](#111199) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: can I apply a discount to just one variant?](/forum/4-how-to/68229-can-i-apply-a-discount-to-just-one-variant#111199 "I am testing the free version of HikaShop, so I cannot test discount restrictions. The documentation says I will be able to apply a discount to an individual product in a commercial version. But...")*

Hi,

I don't think you read carefully what Nicolas explained.

> we should enter in the column of table html code with style id/class ?

I don't know what you are talking about. A column table is in the database. There is not HTML in this story.

> what is the best charset when doing that ?

The default one is perfect.

> If hikashop is already configure for discount on only a variant item by a personn1. If there is 100 products , how person2 ll detect wich variant is configure for discount ?

I don't understand what you want to say. Sorry.

> If i use variant for discount, we lost the ability to define period of discount ...so Is it possible to use discount for variant with the last version of hikashop 2.1.3 in 27 june 2013 ?

If you read what Nicolas said, he explain that it wasn't required to do that and explain that you can just change the price of the variant. He never said that this feature exists.
We **never** remove a feature in HikaShop.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MjI5LWNhbi1pLWFwcGx5LWEtZGlzY291bnQtdG8tanVzdC1vbmUtdmFyaWFudD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.099 seconds

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