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

#   Product description on variants incorrect

##

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

Less More

- Posts: 113
- Thank you received: 18
-
-

14 years 1 month ago -  14 years 1 month ago [\#68864](#68864) by [csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")  *[Product description on variants incorrect](/forum/3-bug-report/68864-product-description-on-variants-incorrect#68864 "I used a generic description on the main product, then added a characteristic for material type. The descriptions in the variants include the material type. When displaying product details, the generic description is displayed instead of the variant's description. Changing the selected item in the characteristic combo box will update the product description, but it would seem the initial display should include the variant description of the characteristic initially selected.  Unrelated, clicking the &quot;back&quot; button from this type of product (with variants) detail page displays an &quot;expired&quot; error in both Firefox and IE...not what I want customers to see.  Firefox: Document Expired This document is no longer available.  IE: Webpage has expired")* was created by *[csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")*

I used a generic description on the main product, then added a characteristic for material type.
The descriptions in the variants include the material type.
When displaying product details, the generic description is displayed instead of the variant's description.
Changing the selected item in the characteristic combo box will update the product description, but it would seem the initial display should include the variant description of the characteristic initially selected.

Unrelated, clicking the "back" button from this type of product (with variants) detail page displays an "expired" error in both Firefox and IE...not what I want customers to see.

Firefox:
Document Expired
This document is no longer available.

IE:
Webpage has expired

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82ODg2NC1wcm9kdWN0LWRlc2NyaXB0aW9uLW9uLXZhcmlhbnRzLWluY29ycmVjdD90bXBsPW1hcmtkb3du) 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: 86363
- Thank you received: 14297
-
-

14 years 1 month ago [\#68970](#68970) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product description on variants incorrect](/forum/3-bug-report/68864-product-description-on-variants-incorrect#68970 "I used a generic description on the main product, then added a characteristic for material type. The descriptions in the variants include the material type. When displaying product details, the generic description is displayed instead of the variant's description. Changing the selected item in the characteristic combo box will update the product description, but it would seem the initial display should include the variant description of the characteristic initially selected.  Unrelated, clicking the &quot;back&quot; button from this type of product (with variants) detail page displays an &quot;expired&quot; error in both Firefox and IE...not what I want customers to see.  Firefox: Document Expired This document is no longer available.  IE: Webpage has expired")*

It's working fine or our end.
Did you change anything in the product page's code ? Maybe it comes from such modification ?

The "error" in your browser means that a form was submitted in the previous page and that the browser has to ask again fo the page on the server. It should normally tell you to refresh the page.

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

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

Less More

- Posts: 113
- Thank you received: 18
-
-

14 years 1 month ago [\#69055](#69055) by [csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")  Replied by *[csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")* on topic *[Re: Product name on variants incorrect](/forum/3-bug-report/68864-product-description-on-variants-incorrect#69055 "I used a generic description on the main product, then added a characteristic for material type. The descriptions in the variants include the material type. When displaying product details, the generic description is displayed instead of the variant's description. Changing the selected item in the characteristic combo box will update the product description, but it would seem the initial display should include the variant description of the characteristic initially selected.  Unrelated, clicking the &quot;back&quot; button from this type of product (with variants) detail page displays an &quot;expired&quot; error in both Firefox and IE...not what I want customers to see.  Firefox: Document Expired This document is no longer available.  IE: Webpage has expired")*

Perhaps I should have said "product name" instead of "description".

I see the behavior described on your demo site here:
[ demo.hikashop.com/index.php?option=com\_h...y\_pathway=23&amp;lang=en](http://demo.hikashop.com/index.php?option=com_hikashop&ctrl=product&task=show&cid=182&name=hard-drive-disk&Itemid=78&category_pathway=23&lang=en)

Initially the name is "Hard drive disk", and though the "1 TB" size is selected when viewing the product, the product name isn't updated to include the size unless you change it from "1 TB" to something else.

I don't see the "Document Expired" issue on the demo site, but am at a loss for what's causing this on our site.
This only happens on product details with variants, and happens when viewing the product from search results or category listing.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82ODg2NC1wcm9kdWN0LWRlc2NyaXB0aW9uLW9uLXZhcmlhbnRzLWluY29ycmVjdD90bXBsPW1hcmtkb3du) 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: 86363
- Thank you received: 14297
-
-

14 years 1 month ago [\#69174](#69174) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product name on variants incorrect](/forum/3-bug-report/68864-product-description-on-variants-incorrect#69174 "I used a generic description on the main product, then added a characteristic for material type. The descriptions in the variants include the material type. When displaying product details, the generic description is displayed instead of the variant's description. Changing the selected item in the characteristic combo box will update the product description, but it would seem the initial display should include the variant description of the characteristic initially selected.  Unrelated, clicking the &quot;back&quot; button from this type of product (with variants) detail page displays an &quot;expired&quot; error in both Firefox and IE...not what I want customers to see.  Firefox: Document Expired This document is no longer available.  IE: Webpage has expired")*

Ah yes. For the product name, that's indeed the case.
We had requests to keep the main product name when you first reach the product page instead of displaying the variant name.

You can change the line:
if (hikashop_getCID('product_id')!=$this-&gt;element-&gt;product_id &amp;&amp; isset ($this-&gt;element-&gt;main-&gt;product_name))

to:
if (false)

in the file "show_default" via the menu Display&gt;Views if you don't want that.

For the "Document Expired", you will have the problem on the demo website too (I have it). That's because the pagination system uses POST to send the pagination changes and keep the URLs clean. We could send the pagination changes using the GET but the URLs would contain the pagination variables data, so instead of:
[ demo.hikashop.com/index.php?option=com\_h...ng&amp;Itemid=70&amp;lang=en](http://demo.hikashop.com/index.php?option=com_hikashop&view=product&layout=listing&Itemid=70&lang=en)

you would get:
[ demo.hikashop.com/index.php?option=com\_h...bd8a4b8bdf=1&amp;lang=en](http://demo.hikashop.com/index.php?option=com_hikashop&view=product&layout=listing&Itemid=70&limit_hikashop_category_information_menu_70_21=9&limitstart_hikashop_category_information_menu_70_21=9&filter_order_hikashop_category_information_menu_70_21=a.ordering&filter_order_Dir_hikashop_category_information_menu_70_21=ASC&09eb42198a26ca8c962cb5bd8a4b8bdf=1&lang=en)

As URLs text is more important than the back button we preferred to keep it like it is actually.

We can't do much in HikaShop.
What you can do is add that line of code at the beginning of your joomla's index.php file:
&lt;?php session_cache_limiter('private_no_expire'); ?&gt;

That will ask the browser to not expire pages and should hopefully "fix" the problem.

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

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

Less More

- Posts: 113
- Thank you received: 18
-
-

14 years 4 weeks ago [\#69967](#69967) by [csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")  Replied by *[csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")* on topic *[Re: Product name on variants incorrect](/forum/3-bug-report/68864-product-description-on-variants-incorrect#69967 "I used a generic description on the main product, then added a characteristic for material type. The descriptions in the variants include the material type. When displaying product details, the generic description is displayed instead of the variant's description. Changing the selected item in the characteristic combo box will update the product description, but it would seem the initial display should include the variant description of the characteristic initially selected.  Unrelated, clicking the &quot;back&quot; button from this type of product (with variants) detail page displays an &quot;expired&quot; error in both Firefox and IE...not what I want customers to see.  Firefox: Document Expired This document is no longer available.  IE: Webpage has expired")*

I added this line to the site's index.php and it makes no difference.

The issue / message can be easily recreated. If there are 2 or more pages of products, clicking on a product to view details, then using the browser's back button yields "Document Expired". As volunteered, the same issue is seen on the demo site under the same circumstances.

Hopefully there is a work-around, some way to avoid this as presenting this type of message to the typical customer isn't acceptable in my view. Customers will, in time assume the site is buggy, which undermines a company's credibility.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82ODg2NC1wcm9kdWN0LWRlc2NyaXB0aW9uLW9uLXZhcmlhbnRzLWluY29ycmVjdD90bXBsPW1hcmtkb3du) 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: 86363
- Thank you received: 14297
-
-

14 years 4 weeks ago -  14 years 2 weeks ago [\#70118](#70118) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product name on variants incorrect](/forum/3-bug-report/68864-product-description-on-variants-incorrect#70118 "I used a generic description on the main product, then added a characteristic for material type. The descriptions in the variants include the material type. When displaying product details, the generic description is displayed instead of the variant's description. Changing the selected item in the characteristic combo box will update the product description, but it would seem the initial display should include the variant description of the characteristic initially selected.  Unrelated, clicking the &quot;back&quot; button from this type of product (with variants) detail page displays an &quot;expired&quot; error in both Firefox and IE...not what I want customers to see.  Firefox: Document Expired This document is no longer available.  IE: Webpage has expired")*

Then, you will have to change all the method="post" to method="get" in the view files of HikaShop.
For products listings it's in the files listing_table and listing_div where you will find that on two different locations for the listing_div view file. You can edit them via the menu Display-&gt;Views.
You will also have to add the parameters of the URL as hidden fields inside the form, like that:
&lt;input type="hidden" name="cid" value="&lt;?php echo reset($this-&gt;pageInfo-&gt;filter-&gt;cid); ?&gt;"/&gt;
&lt;input type="hidden" name="ctrl" value="product"/&gt;
&lt;input type="hidden" name="task" value="listing"/&gt;
&lt;input type="hidden" name="option" value="com_hikashop"/&gt;
&lt;input type="hidden" name="Itemid" value="&lt;?php global Itemid; echo Itemid; ?&gt;"/&gt;

That will "fix" that behavior. Otherwise, you should see with your hosting company if you can force the non expiration of the forms with a modification of the configuration of your PHP/apache settings.

Last edit: 14 years 2 weeks ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 113
- Thank you received: 18
-
-

14 years 3 weeks ago [\#70207](#70207) by [csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")  Replied by *[csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")* on topic *[Re: Product name on variants incorrect](/forum/3-bug-report/68864-product-description-on-variants-incorrect#70207 "I used a generic description on the main product, then added a characteristic for material type. The descriptions in the variants include the material type. When displaying product details, the generic description is displayed instead of the variant's description. Changing the selected item in the characteristic combo box will update the product description, but it would seem the initial display should include the variant description of the characteristic initially selected.  Unrelated, clicking the &quot;back&quot; button from this type of product (with variants) detail page displays an &quot;expired&quot; error in both Firefox and IE...not what I want customers to see.  Firefox: Document Expired This document is no longer available.  IE: Webpage has expired")*

Is there a way to force the product details to open in a new window or popup?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82ODg2NC1wcm9kdWN0LWRlc2NyaXB0aW9uLW9uLXZhcmlhbnRzLWluY29ycmVjdD90bXBsPW1hcmtkb3du) 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: 86363
- Thank you received: 14297
-
-

14 years 3 weeks ago [\#70290](#70290) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product name on variants incorrect](/forum/3-bug-report/68864-product-description-on-variants-incorrect#70290 "I used a generic description on the main product, then added a characteristic for material type. The descriptions in the variants include the material type. When displaying product details, the generic description is displayed instead of the variant's description. Changing the selected item in the characteristic combo box will update the product description, but it would seem the initial display should include the variant description of the characteristic initially selected.  Unrelated, clicking the &quot;back&quot; button from this type of product (with variants) detail page displays an &quot;expired&quot; error in both Firefox and IE...not what I want customers to see.  Firefox: Document Expired This document is no longer available.  IE: Webpage has expired")*

Yes, you can open the product page in a popup. Here is a thread where we talk about that:
[ www.hikashop.com/en/forum/2-general-talk...n-popup-product.html](http://www.hikashop.com/en/forum/2-general-talk-about-hikashop/67814-abrir-producto-en-popup--open-popup-product.html)

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

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