can I apply a discount to just one variant?

  • Posts: 23
  • Thank you received: 0
12 years 1 month ago #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 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 or Create an account to join the conversation.

  • Posts: 82758
  • Thank you received: 13346
  • MODERATOR
12 years 1 month ago #68408

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 or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 0
12 years 1 month ago #68541

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 $45 $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 or Create an account to join the conversation.

  • Posts: 82758
  • Thank you received: 13346
  • MODERATOR
12 years 1 month ago #68544

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

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

  • Posts: 23
  • Thank you received: 0
12 years 1 month ago #68554

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 or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 0
12 years 5 days ago #73587

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 $45 (+ $30)"

Any advice is appreciated.

Thanks.

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

  • Posts: 82758
  • Thank you received: 13346
  • MODERATOR
12 years 4 days ago #73801

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->Views) like that:
<?php echo $this->row->CUSTOM_FIELD_COLUMN_NAME; ?>

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

  • Posts: 846
  • Thank you received: 92
11 years 4 months ago #111183

"" 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: 11 years 4 months ago by lionel75.

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 4 months ago #111199

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 & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.084 seconds
Powered by Kunena Forum