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

#   Description disappears when updating variants

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

14 years 9 months ago [\#38163](#38163) by [bullgator](/forum/user/5955-bullgator "View bullgator's Profile")  *[Description disappears when updating variants](/forum/3-bug-report/38163-description-disappears-when-updating-variants#38163 "I have run into a problem whenever variants are use and updated for a product. I think I have narrowed it down to a series of steps, but am unsure if this is a feature or a bug (possibly introduced in 1.5.6).  Steps followed: New product created with description Assign 1 set of characteristics (3 choices) Variants generated automatically - product still shows description in front end properly but since no customization has been done to the variants, my different pricing does not show. Modify one variant via &quot;Manage Variants&quot; to assign a price to variant (no other change). Revisit product. Product description disappears for that variant selection. Only variant description will show if one is entered for that variant. I believe I upgraded from 1.5.3 before 1.5.6 and it did not do this in that version.  Is it now required to enter a description in every variant so that something shows in the product page? Can it not be set to default to show the general product description and additionally show the variant description if one is entered?  Thank you, Bob")* was created by *[bullgator](/forum/user/5955-bullgator "View bullgator's Profile")*

I have run into a problem whenever variants are use and updated for a product.
I think I have narrowed it down to a series of steps, but am unsure if this is a feature or a bug (possibly introduced in 1.5.6).

Steps followed:
New product created with description
Assign 1 set of characteristics (3 choices)
Variants generated automatically - product still shows description in front end properly but since no customization has been done to the variants, my different pricing does not show.
Modify one variant via "Manage Variants" to assign a price to variant (no other change).
Revisit product.
Product description disappears for that variant selection.
Only variant description will show if one is entered for that variant.
I believe I upgraded from 1.5.3 before 1.5.6 and it did not do this in that version.

Is it now required to enter a description in every variant so that something shows in the product page?
Can it not be set to default to show the general product description and additionally show the variant description if one is entered?

Thank you,
Bob

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zODE2My1kZXNjcmlwdGlvbi1kaXNhcHBlYXJzLXdoZW4tdXBkYXRpbmctdmFyaWFudHM/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: 86541
- Thank you received: 14304
-
-

14 years 9 months ago [\#38271](#38271) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Description disappears when updating variants](/forum/3-bug-report/38163-description-disappears-when-updating-variants#38271 "I have run into a problem whenever variants are use and updated for a product. I think I have narrowed it down to a series of steps, but am unsure if this is a feature or a bug (possibly introduced in 1.5.6).  Steps followed: New product created with description Assign 1 set of characteristics (3 choices) Variants generated automatically - product still shows description in front end properly but since no customization has been done to the variants, my different pricing does not show. Modify one variant via &quot;Manage Variants&quot; to assign a price to variant (no other change). Revisit product. Product description disappears for that variant selection. Only variant description will show if one is entered for that variant. I believe I upgraded from 1.5.3 before 1.5.6 and it did not do this in that version.  Is it now required to enter a description in every variant so that something shows in the product page? Can it not be set to default to show the general product description and additionally show the variant description if one is entered?  Thank you, Bob")*

That's indeed how it should behave.
We don't have that problem on our end with the latest version.

Did you modify some of the view files of the view "product" via the menu Display-&gt;Views ?
That might explain why you have such problem: there were modifications to these view files in recent versions of HikaShop and because you made the modifications on an old version of the files, you didn't get the new changes.

If that's not the case, then, could you provide a link to that page so that we can see the problem ?

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

14 years 9 months ago [\#38449](#38449) by [bullgator](/forum/user/5955-bullgator "View bullgator's Profile")  Replied by *[bullgator](/forum/user/5955-bullgator "View bullgator's Profile")* on topic *[Re: Description disappears when updating variants](/forum/3-bug-report/38163-description-disappears-when-updating-variants#38449 "I have run into a problem whenever variants are use and updated for a product. I think I have narrowed it down to a series of steps, but am unsure if this is a feature or a bug (possibly introduced in 1.5.6).  Steps followed: New product created with description Assign 1 set of characteristics (3 choices) Variants generated automatically - product still shows description in front end properly but since no customization has been done to the variants, my different pricing does not show. Modify one variant via &quot;Manage Variants&quot; to assign a price to variant (no other change). Revisit product. Product description disappears for that variant selection. Only variant description will show if one is entered for that variant. I believe I upgraded from 1.5.3 before 1.5.6 and it did not do this in that version.  Is it now required to enter a description in every variant so that something shows in the product page? Can it not be set to default to show the general product description and additionally show the variant description if one is entered?  Thank you, Bob")*

Just to be sure I understand:

Can you please confirm which is the correct (designed) behavior for this?

__ 1. Only variant specific descriptions will appear for a product once variants have been saved.

__ 2. The main product description should appear in addition to any description entered for a variant of a product.

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zODE2My1kZXNjcmlwdGlvbi1kaXNhcHBlYXJzLXdoZW4tdXBkYXRpbmctdmFyaWFudHM/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: 86541
- Thank you received: 14304
-
-

14 years 9 months ago [\#38630](#38630) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Description disappears when updating variants](/forum/3-bug-report/38163-description-disappears-when-updating-variants#38630 "I have run into a problem whenever variants are use and updated for a product. I think I have narrowed it down to a series of steps, but am unsure if this is a feature or a bug (possibly introduced in 1.5.6).  Steps followed: New product created with description Assign 1 set of characteristics (3 choices) Variants generated automatically - product still shows description in front end properly but since no customization has been done to the variants, my different pricing does not show. Modify one variant via &quot;Manage Variants&quot; to assign a price to variant (no other change). Revisit product. Product description disappears for that variant selection. Only variant description will show if one is entered for that variant. I believe I upgraded from 1.5.3 before 1.5.6 and it did not do this in that version.  Is it now required to enter a description in every variant so that something shows in the product page? Can it not be set to default to show the general product description and additionally show the variant description if one is entered?  Thank you, Bob")*

It's number 1.

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

14 years 9 months ago [\#38639](#38639) by [bullgator](/forum/user/5955-bullgator "View bullgator's Profile")  Replied by *[bullgator](/forum/user/5955-bullgator "View bullgator's Profile")* on topic *[Re: Description disappears when updating variants](/forum/3-bug-report/38163-description-disappears-when-updating-variants#38639 "I have run into a problem whenever variants are use and updated for a product. I think I have narrowed it down to a series of steps, but am unsure if this is a feature or a bug (possibly introduced in 1.5.6).  Steps followed: New product created with description Assign 1 set of characteristics (3 choices) Variants generated automatically - product still shows description in front end properly but since no customization has been done to the variants, my different pricing does not show. Modify one variant via &quot;Manage Variants&quot; to assign a price to variant (no other change). Revisit product. Product description disappears for that variant selection. Only variant description will show if one is entered for that variant. I believe I upgraded from 1.5.3 before 1.5.6 and it did not do this in that version.  Is it now required to enter a description in every variant so that something shows in the product page? Can it not be set to default to show the general product description and additionally show the variant description if one is entered?  Thank you, Bob")*

Thanks for the clarification.

Is there a way I can modify the product/show view so that it will display both?
I tried, but I couldn't find which attribute of the view or variant would let me access the main description.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zODE2My1kZXNjcmlwdGlvbi1kaXNhcHBlYXJzLXdoZW4tdXBkYXRpbmctdmFyaWFudHM/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: 86541
- Thank you received: 14304
-
-

14 years 9 months ago [\#38768](#38768) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Description disappears when updating variants](/forum/3-bug-report/38163-description-disappears-when-updating-variants#38768 "I have run into a problem whenever variants are use and updated for a product. I think I have narrowed it down to a series of steps, but am unsure if this is a feature or a bug (possibly introduced in 1.5.6).  Steps followed: New product created with description Assign 1 set of characteristics (3 choices) Variants generated automatically - product still shows description in front end properly but since no customization has been done to the variants, my different pricing does not show. Modify one variant via &quot;Manage Variants&quot; to assign a price to variant (no other change). Revisit product. Product description disappears for that variant selection. Only variant description will show if one is entered for that variant. I believe I upgraded from 1.5.3 before 1.5.6 and it did not do this in that version.  Is it now required to enter a description in every variant so that something shows in the product page? Can it not be set to default to show the general product description and additionally show the variant description if one is entered?  Thank you, Bob")*

Yes. If you use the latest version, it's actually the file "show_default" that you should edit and change the code: Code:

&lt;div id="hikashop_product_description_main" class="hikashop_product_description_main"&gt; &lt;?php echo JHTML::_('content.prepare',preg_replace('#&lt;hr *id="system-readmore" */&gt;#i','',$this-&gt;element-&gt;product_description)); ?&gt; &lt;/div&gt;

by: Code:

&lt;?php echo JHTML::_('content.prepare',preg_replace('#&lt;hr *id="system-readmore" */&gt;#i','',$this-&gt;element-&gt;product_description)); ?&gt; &lt;div id="hikashop_product_description_main" class="hikashop_product_description_main"&gt; &lt;/div&gt;

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

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