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

#   Characteristics/Variants Not Applied in Cart

##

- **[hdracing](/forum/user/742-hdracing "View hdracing's Profile")**
- [![hdracing's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar742.jpg)](/forum/user/742-hdracing "View hdracing's Profile") Topic Author
- [ Offline](/forum/user/742-hdracing)

Less More

- Posts: 242
- Thank you received: 0
-
-
- [](http://www.HighDesertVideo.com)
-

15 years 9 months ago [\#6161](#6161) by [hdracing](/forum/user/742-hdracing "View hdracing's Profile")  *[Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#6161 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")* was created by *[hdracing](/forum/user/742-hdracing "View hdracing's Profile")*

Good Morning,

I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.

I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.

Regards,
Ed

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTYxLWNoYXJhY3RlcmlzdGljcy12YXJpYW50cy1ub3QtYXBwbGllZC1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 9 months ago [\#6165](#6165) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#6165 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")*

Hi,

There is indeed a problem in the new version on characteristics selection.

You need to replace the code: Code:

$this-&gt;row =&amp; $variant; $this-&gt;setLayout('quantity');

by: Code:

$this-&gt;row =&amp; $variant; $this-&gt;ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\''.$this-&gt;row-&gt;product_id.'\',field,1'.$form.'); } else { return false; }'; $this-&gt;setLayout('quantity');

in the file show of the view product via the menu Display-&gt;Views to fix the problem.

We'll release a new version with the fix asap

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

- **[hdracing](/forum/user/742-hdracing "View hdracing's Profile")**
- [![hdracing's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar742.jpg)](/forum/user/742-hdracing "View hdracing's Profile") Topic Author
- [ Offline](/forum/user/742-hdracing)

Less More

- Posts: 242
- Thank you received: 0
-
-
- [](http://www.HighDesertVideo.com)
-

15 years 9 months ago [\#6175](#6175) by [hdracing](/forum/user/742-hdracing "View hdracing's Profile")  Replied by *[hdracing](/forum/user/742-hdracing "View hdracing's Profile")* on topic *[Re: Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#6175 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")*

Thanks - That works.

Since I still have the problem of Characteristics/Variants, when changed, not being appended to the Product Name on the Product page, would it be possible to NOT have ANY Characteristic appended to the name there, but still be included with the Product name in the Cart, because that part is working OK. That would be better than the way it is working now, at least with the template I'm using.

I tried turning off the option in Configuration/Display, but that turns if off for both the Product Page and Cart.

Regards,
Ed

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTYxLWNoYXJhY3RlcmlzdGljcy12YXJpYW50cy1ub3QtYXBwbGllZC1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 9 months ago [\#6176](#6176) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#6176 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")*

You can always edit the file administrator/components/com_hikashop/classes.php and change the code below:
$variant-&gt;$field.=' '.$val-&gt;characteristic_value;
to:
if(!(JRequest::getVar('ctrl')=='product'&amp;&amp;JRequest::getVar('task')=='show')){
$variant-&gt;$field.=' '.$val-&gt;characteristic_value;
}

But please note that this will be removed if you update hikashop.

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

- **[hdracing](/forum/user/742-hdracing "View hdracing's Profile")**
- [![hdracing's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar742.jpg)](/forum/user/742-hdracing "View hdracing's Profile") Topic Author
- [ Offline](/forum/user/742-hdracing)

Less More

- Posts: 242
- Thank you received: 0
-
-
- [](http://www.HighDesertVideo.com)
-

15 years 9 months ago [\#6177](#6177) by [hdracing](/forum/user/742-hdracing "View hdracing's Profile")  Replied by *[hdracing](/forum/user/742-hdracing "View hdracing's Profile")* on topic *[Re: Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#6177 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")*

Thanks Again!

I guess I should know by now not to ask if something is possible, as just about anything is possible with this component it seems, provided you know which file to alter and how to alter it.

Ed

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

- **[hdracing](/forum/user/742-hdracing "View hdracing's Profile")**
- [![hdracing's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar742.jpg)](/forum/user/742-hdracing "View hdracing's Profile") Topic Author
- [ Offline](/forum/user/742-hdracing)

Less More

- Posts: 242
- Thank you received: 0
-
-
- [](http://www.HighDesertVideo.com)
-

15 years 9 months ago [\#6178](#6178) by [hdracing](/forum/user/742-hdracing "View hdracing's Profile")  Replied by *[hdracing](/forum/user/742-hdracing "View hdracing's Profile")* on topic *[Re: Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#6178 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")*

Would that be file administrator/components/com_hikashop/classes/product.php? I don't find file administrator/components/com_hikashop/classes.php

Ed

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTYxLWNoYXJhY3RlcmlzdGljcy12YXJpYW50cy1ub3QtYXBwbGllZC1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 9 months ago [\#6179](#6179) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#6179 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")*

Yes, of course. I should check a bit what I'm writing ![:p](/media/kunena/emoticons/14.png ":p")

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

- **[hdracing](/forum/user/742-hdracing "View hdracing's Profile")**
- [![hdracing's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar742.jpg)](/forum/user/742-hdracing "View hdracing's Profile") Topic Author
- [ Offline](/forum/user/742-hdracing)

Less More

- Posts: 242
- Thank you received: 0
-
-
- [](http://www.HighDesertVideo.com)
-

15 years 8 months ago [\#8410](#8410) by [hdracing](/forum/user/742-hdracing "View hdracing's Profile")  Replied by *[hdracing](/forum/user/742-hdracing "View hdracing's Profile")* on topic *[Re: Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#8410 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")*

**nicolas wrote:**

> You can always edit the file administrator/components/com\_hikashop/classes.php and change the code below:
> $variant-&gt;$field.=' '.$val-&gt;characteristic\_value;
> to:
> if(!(JRequest::getVar('ctrl')=='product'&amp;&amp;JRequest::getVar('task')=='show')){
> $variant-&gt;$field.=' '.$val-&gt;characteristic\_value;
> }
>
> But please note that this will be removed if you update hikashop.

The line you said to replace does not exist in the same form in the latest release. The closest I can find is:
$variant-&gt;$field.=$separator.$val-&gt;characteristic_value;

Should I replace that line with the code supplied above or does it need to be modified?

Thanks,
Ed

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTYxLWNoYXJhY3RlcmlzdGljcy12YXJpYW50cy1ub3QtYXBwbGllZC1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 8 months ago [\#8413](#8413) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#8413 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")*

You can use this now:

if(!(JRequest::getVar('ctrl')=='product'&amp;&amp;JRequest::getVar('task')=='show')){
$variant-&gt;$field.=$separator.$val-&gt;characteristic_value;
}

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

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

Less More

- Posts: 78
- Thank you received: 0
-
-

15 years 8 months ago [\#9678](#9678) by [jasonm](/forum/user/712-jasonm "View jasonm's Profile")  Replied by *[jasonm](/forum/user/712-jasonm "View jasonm's Profile")* on topic *[Re: Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#9678 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")*

Running starter 1.4.6 we appear to be having this same issue with the base product/base price always going into cart regardless of variant selected.

Upgraded to 1.4.7 and still occurs.

It seems to be working OK on demo site?? Any thoughts?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTYxLWNoYXJhY3RlcmlzdGljcy12YXJpYW50cy1ub3QtYXBwbGllZC1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 8 months ago [\#9695](#9695) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#9695 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")*

There was such problem in previous versions indeed. With 1.4.7, it should be good though.
Could you give a link to the product where you have the problem so that we can check it ?

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

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

Less More

- Posts: 78
- Thank you received: 0
-
-

15 years 8 months ago [\#9786](#9786) by [jasonm](/forum/user/712-jasonm "View jasonm's Profile")  Replied by *[jasonm](/forum/user/712-jasonm "View jasonm's Profile")* on topic *[Re: Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#9786 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")*

OK, got it sorted. I copied our product/show to the demo site and it performed the same. Once I knew this was the file responsible I went through our 1.4.3 and found our customisations, uploaded the 1.4.7 file and re-entered our customisations and away we go.

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

- **[hdracing](/forum/user/742-hdracing "View hdracing's Profile")**
- [![hdracing's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar742.jpg)](/forum/user/742-hdracing "View hdracing's Profile") Topic Author
- [ Offline](/forum/user/742-hdracing)

Less More

- Posts: 242
- Thank you received: 0
-
-
- [](http://www.HighDesertVideo.com)
-

15 years 7 months ago [\#12759](#12759) by [hdracing](/forum/user/742-hdracing "View hdracing's Profile")  Replied by *[hdracing](/forum/user/742-hdracing "View hdracing's Profile")* on topic *[Re: Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#12759 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")*

**hdracing wrote:**

> **nicolas wrote:**
>
> > You can always edit the file administrator/components/com\_hikashop/classes.php and change the code below:
> > $variant-&gt;$field.=' '.$val-&gt;characteristic\_value;
> > to:
> > if(!(JRequest::getVar('ctrl')=='product'&amp;&amp;JRequest::getVar('task')=='show')){
> > $variant-&gt;$field.=' '.$val-&gt;characteristic\_value;
> > }
> >
> > But please note that this will be removed if you update hikashop.
>
>
> The line you said to replace does not exist in the same form in the latest release. The closest I can find is:
> $variant-&gt;$field.=$separator.$val-&gt;characteristic\_value;
>
> Should I replace that line with the code supplied above or does it need to be modified?
>
> Thanks,
> Ed

Sorry to bring this up again, but after updating to 1.4.8 this morning, I again need to modify administrator/components/com_hikashop/classes/product.php to get around the problem with my template not updating variant labels properly. Could you please point me to the code that needs to be changed as the previous code does not exist in the same form now.

Thanks,
Ed

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTYxLWNoYXJhY3RlcmlzdGljcy12YXJpYW50cy1ub3QtYXBwbGllZC1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 7 months ago [\#12781](#12781) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#12781 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")*

It's the same as 1 month ago:
$variant-&gt;$field.=$separator.$val-&gt;characteristic_value;

to:

if(!(JRequest::getVar('ctrl')=='product'&amp;&amp;JRequest::getVar('task')=='show')){
$variant-&gt;$field.=$separator.$val-&gt;characteristic_value;
}

We did not change it since then.

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

- **[hdracing](/forum/user/742-hdracing "View hdracing's Profile")**
- [![hdracing's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar742.jpg)](/forum/user/742-hdracing "View hdracing's Profile") Topic Author
- [ Offline](/forum/user/742-hdracing)

Less More

- Posts: 242
- Thank you received: 0
-
-
- [](http://www.HighDesertVideo.com)
-

15 years 7 months ago [\#12785](#12785) by [hdracing](/forum/user/742-hdracing "View hdracing's Profile")  Replied by *[hdracing](/forum/user/742-hdracing "View hdracing's Profile")* on topic *[Re: Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#12785 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")*

Thanks Nicolas,

I searched for that line but didn't find it so thought it had changed again. Must have had a typo in my search request.

Sorry for wasting your time on this.
Ed

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTYxLWNoYXJhY3RlcmlzdGljcy12YXJpYW50cy1ub3QtYXBwbGllZC1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 7 months ago [\#12786](#12786) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Characteristics/Variants Not Applied in Cart](/forum/3-bug-report/6161-characteristics-variants-not-applied-in-cart#12786 "Good Morning,  I'm sure this was working correctly before 1.4.4, but after the update, if I select a Variant, the price on the product detail page is updated, but when I click Add to Cart, the default Product/Characteristic/Price is added, not the selected Variant. Also, after the product is added to the cart, the product page reverts to the default Characteristic setting, but maybe that is normal.  I also have the problem reported in another thread where the Characteristic does not properly get added to the Product name when the Characteristic/Variant is changed on the Product page. The page initially loads with the default Characteristic added to the name but it does not change. This issue was present before the upgrade to 1.4.4 and I suspect it is related to the template I'm using as your demo site does not have this problem.  Regards, Ed")*

No problem.

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

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