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

#   Discount a Category, but what about variants?

##

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

Less More

- Posts: 81
- Thank you received: 2
-
-

14 years 1 month ago [\#63569](#63569) by [rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")  *[Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#63569 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")* was created by *[rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")*

Hi, my client has the following problem:
All of het products in a category need to be discounted with 50%
when I do this, products with variants show prices like this: [strike]0,00[/strike] 19,95
With 19,95 being the non-discounted (original) price.
Any way to solve this without selecting all variants of products one by one this category?

thanks,

Roy

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 1 month ago [\#63695](#63695) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#63695 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

Hi,

Could you please make a screenshot of your discount configuration?
I'm currently testing it and we may have a bug.

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

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

Less More

- Posts: 81
- Thank you received: 2
-
-

14 years 1 month ago [\#63830](#63830) by [rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")  Replied by *[rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#63830 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

Sure, here it is.

- [ ![nicolas&#95;discount.png](/forum/attachment/5559) ](/forum/attachment/5559 "...s&#95;discount.png") [ ](/forum/attachment/5559?download=1 "...s&#95;discount.png")

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 1 month ago [\#63911](#63911) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#63911 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

Could you also ,give me more informations about the product and its variants? (screenshot would be appreciated)

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

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

Less More

- Posts: 81
- Thank you received: 2
-
-

14 years 1 month ago [\#64105](#64105) by [rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")  Replied by *[rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64105 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

Hi the product is a hat, in 3 sizes (the variants)
Only thing special about it is; the variants had the same prices filled in as the original product.
So I removed the prices to make it work.
The category has lots more products, without variants it works fine, with variants and prices added to the variants it will show [strike]0,00[/strike] € 19,95
Here is a link to the product:
[ www.ollotiek.nl/js/index.php/Hoofddoeken...r-zomerstrohoed.html](http://www.ollotiek.nl/js/index.php/Hoofddoeken-zomerstrohoeden/product/503-seeberger-zomerstrohoed.html)

thanks,

Roy

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 1 month ago [\#64110](#64110) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64110 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

It's working fine there.
Do you have the last version of Hikashop? Also, how did you created your product? Using import?

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

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

Less More

- Posts: 81
- Thank you received: 2
-
-

14 years 1 month ago [\#64183](#64183) by [rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")  Replied by *[rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64183 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

No they do the product-creating all by hand.
Do discounts work fine when prices are added to the variants?
In that case i might need a new version, although we recently upgraded to 1.5.8

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

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

Less More

- Posts: 81
- Thank you received: 2
-
-

14 years 1 month ago [\#64184](#64184) by [rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")  Replied by *[rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64184 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

Oh, I see there is a 1.6.0 now. I will try it.

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 1 month ago [\#64185](#64185) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64185 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

I tried with exactly the same configuration.
Try to update and if it doesn't fix the bug I would probably need an access to your backend in order to take a look.

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

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

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

Less More

- Posts: 81
- Thank you received: 2
-
-

14 years 1 month ago [\#64278](#64278) by [rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")  Replied by *[rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64278 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

Hi, I installed the new version 1.6.0 of Hikashop, but now I got this problem:
In some category vieuws the links to productpages are not present. So it is now not possible
to visit productpages of most categories..

I will investigate possible differences in categories right now, but if you got any solution, it will be more than welcome!

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 1 month ago -  14 years 1 month ago [\#64280](#64280) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64280 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

There is an "add link to product page" option in modules and menus so it may be disable on your product listing.

Last edit: 14 years 1 month ago by [Eliot](/forum/user/1824-eliot "View Eliot's Profile").

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

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

Less More

- Posts: 81
- Thank you received: 2
-
-

14 years 1 month ago [\#64290](#64290) by [rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")  Replied by *[rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64290 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

First i could not find any "add link to product page" button for the menu's untill I changed the menu contents to "products" (the non working links were products in a category content menu)
So I think it is solved now.
For mor info regarding this I also used this topic on the forum: [ www.hikashop.com/en/forum/2-general-talk...-not-accessable.html](http://www.hikashop.com/en/forum/2-general-talk-about-hikashop/40970-product-description-not-accessable.html)

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

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

Less More

- Posts: 81
- Thank you received: 2
-
-

14 years 1 month ago [\#64306](#64306) by [rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")  Replied by *[rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64306 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

Well, The initial problem of discounted variants is not solved by doing the update: [ www.ollotiek.nl/js/index.php/Hoofddoeken...r-zomerstrohoed.html](http://www.ollotiek.nl/js/index.php/Hoofddoeken-zomerstrohoeden/product/503-seeberger-zomerstrohoed.html)
Also, my first menu item refuses to link to the products layout. I checked menuitem config, checked in, emptied cache and rebuild the menu but it seems to want to go to the frontpage somehow: [ www.ollotiek.nl/js/index.php](http://www.ollotiek.nl/js/index.php) &gt;&gt;&gt;choose Gala &amp; Cocktail Jurken.

As I wrote before, i changed all category content menuitems to product content, those links are all right now.

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

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

Less More

- Posts: 81
- Thank you received: 2
-
-

14 years 1 month ago [\#64324](#64324) by [rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")  Replied by *[rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64324 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

In the mean time, I made a new menuitem for Gala &amp; Cocktailjurken and depublished the old one.

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 1 month ago [\#64330](#64330) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64330 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

It seems the discount problem just exist for this product from what I see.
Try to delete the variant price and it should solve the problem.
About your menu item it tried and it seems to work, everything is fine?

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

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

Less More

- Posts: 81
- Thank you received: 2
-
-

14 years 1 month ago [\#64372](#64372) by [rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")  Replied by *[rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64372 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

Well we already deleted all variants prices a few days ago because of this.
Today, after the update, I made the current prices at the variants to see if it works.
Luckily the prices are/were the same as the original product,so in this case it does not matter to much. but what if variants would have different prices ?

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 1 month ago [\#64376](#64376) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64376 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

Since I can't reproduce this bug could you confirm me it's displaying 0,00€ only when variants have prices?
Also, does this happen if you create a new similar product?

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 1 month ago -  14 years 1 month ago [\#64387](#64387) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64387 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

Alright, I finally spotted the problem and fixed it.
You have to edit two files, the first one is currency.php in administrator\components\com_hikashop\classes replace this line: Code:

if(empty($products[$key]) &#124;&#124; !in_array($product-&gt;product_id,$products[$key])){

with this one: Code:

if(empty($products[$key]) &#124;&#124; !in_array($product-&gt;product_id,$products[$key]) &amp;&amp; !in_array($product-&gt;product_parent_id,$products[$key])){

then edit the product.php file in the same folder and replace this line: Code:

if(isset($element-&gt;$field) &amp;&amp; is_array($element-&gt;$field) &amp;&amp; count($element-&gt;$field)){

with this one: Code:

if(isset($element-&gt;$field) &amp;&amp; (is_array($element-&gt;$field) &amp;&amp; count($element-&gt;$field) &#124;&#124; is_object($element-&gt;$field))){

Last edit: 14 years 1 month ago by [Eliot](/forum/user/1824-eliot "View Eliot's Profile").

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

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

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

Less More

- Posts: 81
- Thank you received: 2
-
-

14 years 1 month ago [\#64440](#64440) by [rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")  Replied by *[rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64440 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

I will do that, in the mean time: After today's update almost all add to cart buttons are gone!
This happend 100% positive directly after the update, this morning everthing was ok.
A quick solution to this and maybe a possible cause might be great, as i just got called on this fridayevening to fix this too.

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

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

Less More

- Posts: 81
- Thank you received: 2
-
-

14 years 1 month ago [\#64441](#64441) by [rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")  Replied by *[rockoladeluxe](/forum/user/4009-rockoladeluxe "View rockoladeluxe's Profile")* on topic *[Re: Discount a Category, but what about variants?](/forum/4-how-to/63569-discount-a-category-but-what-about-variants#64441 "Hi, my client has the following problem: All of het products in a category need to be discounted with 50% when I do this, products with variants show prices like this: &#91;strike&#93;0,00&#91;/strike&#93; 19,95 With 19,95 being the non-discounted (original) price. Any way to solve this without selecting all variants of products one by one this category?  thanks,  Roy")*

Nevermind a solution to the disappeared ad to cart button: you can turn it back on like this.
It is not what to expect when updating dough: [ www.hikashop.com/en/forum/4-how-to/4471-...ton-disappeared.html](http://www.hikashop.com/en/forum/4-how-to/4471-add-to-cart-button-disappeared.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYzNTY5LWRpc2NvdW50LWEtY2F0ZWdvcnktYnV0LXdoYXQtYWJvdXQtdmFyaWFudHM/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.133 seconds

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

[](#top)
