Hikashop Characteristics not Working

  • Posts: 29
  • Thank you received: 0
10 years 3 months ago #204413

-- url of the page with the problem -- : wolfhomeny.com/index.php/table-lamps/pro...8715-dome-table-lamp
-- HikaShop version -- : 2.50
-- Joomla version -- : 3.41
-- PHP version -- : 5.3.25

I recently started having problems with the characteristics on Hikashop,
the first issue i have is when i duplicate a product, only one characterictic gets copied even if i have multiple, before it used to copy everything.
Second problem started today: The characterics on any new product i add is not working on the front end(old ones i have from before still work fine)

This problem started while i was on Version 2.4.0, i updated to 2.5.0 today to see if it would fix it but it didn;'t work.

wolfhomeny.com/index.php/table-lamps/pro...8715-dome-table-lamp

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 3 months ago #204425

Hi,

Would it be possible to have more details about your issue ?
About the copy of a product ; that part didn't change between HikaShop 2.4.0 and HikaShop 2.5.0 so I want to be sure that I understand right what you're doing.

Please note that the new product edition system won't create the variants automatically ; you need to go in the "variants" tab and generate the variants you want.
You can select all characteristic values you want and then validate, the system will create all possible variants (and not re-create the one which already exist).

Otherwise, the old product edition system is still available ; when you edit a product you can add "&legacy=1" in the URL to get the old interface.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

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

  • Posts: 29
  • Thank you received: 0
10 years 3 months ago #204433

all issues mentioed started happing before i updated to 2.5, i was using 2.4 for awhile now without any problems, then

Copy of a Product: This issue started happening about two weeks ago just like that, i didn't do any updates or any changes on the site, i was listing products that comes in different colorways using the characteristics, then i would make copies of each one and all the characteriistcs would get copied no problem, but that stopped all of a sudden and only the very first one gets copied now.

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

  • Posts: 84305
  • Thank you received: 13700
  • MODERATOR
10 years 3 months ago #204481

Hi,

I've done some tests on my end with the duplication of products with characteristics but couldn't see any issue, whether it is with the 2.4 or the 2.5.

Could you provide a backend access with some explanation on which product you're using for your tests ? You can send that along with a link to this thread via our contact form:
www.hikashop.com/support/contact-us.html

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

  • Posts: 84305
  • Thank you received: 13700
  • MODERATOR
10 years 3 months ago #204614

Hi,

What I found is that the issue is with the product_code of your variants which doesn't contain anymore the product_code of the main product in them as it is by default and because of that, and of the optimizations done in the copy process, the variants get lost during the copy.
I've done a test on your website with a product with several characteristics/variants without changing the product_code of the variants and it worked fine:
Part of the message is hidden for the guests. Please log in or register to see it.

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

  • Posts: 29
  • Thank you received: 0
10 years 3 months ago #204625

I'm not sure i completely understand, i have always partially renamed the product code on a variant to reflect the colorway...eg ( wolfhomeny.com/index.php/the-milan-colle...eat-sofa-in-fawn-ash ) and it always worked fine both on the front end and to copy over to a new item.
I am going to try not changing it and see how it works out.

I discovered another issue today though, now when i add an item to cart, the pop-up box does not display anymore, i don't know if this has to do with the new update because it wasn't an issue before.

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 3 months ago #204630

Hi,

The popup issue has been fixed ; you can re-download HikaShop to get the patch.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

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

  • Posts: 29
  • Thank you received: 0
10 years 2 months ago #206277

Hi, i tried creating products without making any changes to the code on the main products or variant and i am having the exact same problem as before where the variants don't work on the front end.
This is getting frustrating now because they work fine when i list the items, but the day after is when it stops working so it's keeping me from making any progress on adding items to the site.

Below are the newest items i ran into this issue with


This is the first item i made:
wolfhomeny.com/index.php/table-lamps/pro...lore-table-lamp-blue


These are copies of the above:
wolfhomeny.com/index.php/table-lamps/pro...mp-fluorescent-green
wolfhomeny.com/index.php/table-lamps/pro...amp-fluorescent-pink
wolfhomeny.com/index.php/table-lamps/pro...re-table-lamp-orange
wolfhomeny.com/index.php/table-lamps/pro...re-table-lamp-purple
wolfhomeny.com/index.php/table-lamps/pro...ore-table-lamp-white

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

  • Posts: 84305
  • Thank you received: 13700
  • MODERATOR
10 years 2 months ago #206404

Hi,

I'm still not able to reproduce the issue with the copy of the product.
I've copied your product and I got this one:
wolfhomeny.com/administrator/index.php?o...roduct&task=edit&cid []=18852
As you can see it got all the variants copied over.
So I still don't see any problem with the copy of the variants.

Now it seems that you're talking about another problem relative to the characteristics system not working on your frontend.
I've looked at your product pages and that's normal that the characteristics system doesn't work as you've added custom code which actually breaks it.
If you look at the error console of your browser when changing the characteristic selection, you can actually see the error:
take.ms/AtjPi
And that's because of this:
take.ms/7r494

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

  • Posts: 29
  • Thank you received: 0
10 years 2 months ago #206684

Hi,
im not too sure about the custom code, the only ones i did are CSS overides, and there was never an problems with the charactersics working until just recently.
I don't understand how some still works and some don't, even some new ones i make work fine while others stop working a day later.

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

  • Posts: 84305
  • Thank you received: 13700
  • MODERATOR
10 years 2 months ago #206688

Hi,

Then if it's not you who added that code, it's another extension on your website which adds that, or even your Joomla template.
If you have the folder templates/YOUR_TEMPLATE/html/com_hikashop/product, try renaming it via FTP to see if it works porperly without template customization to the product display.
If yes, then I would recommend to contact the template provider for help on the issue.
If not, try to disable the Joomla system plugins on by one as it must come from one of them.

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

  • Posts: 1
  • Thank you received: 0
10 years 2 months ago #207926

I am also having an issue with the Characteristics now not showing up on the front end of the product listing since just upgrading to the latest version. It is quite frustrating when trying to build and add products when one day it works fine and the next it doesn't. The previous characteristics created before the upgrade are still showing but any new characteristics are not, so any help in fixing the issue will be much appreciated.

Thank you

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

  • Posts: 84305
  • Thank you received: 13700
  • MODERATOR
10 years 2 months ago #207951

Hi,

Characteristics are still working fine with the new release now so there is nothing to fix. However, the way they need to be added has changed. Before, when you added characteristics to a product, all the variants would be generated automatically, which could crash when you had too many variants to be generated. Now, you need to go in the variants tab of the product, click on the "add variants" button and select for which values of each characteristics you want to generate the variants.
If you don't do that, no variants will be generated for the product and thus no characteristic will display on the product page.

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

  • Posts: 29
  • Thank you received: 0
10 years 2 weeks ago #212681

Hi, i disabled all plugins and even tried changing to a different template but nothing seemed to have had any effect.
i have been adding items manually and not chaning anything on the product code and thats been working fine so far, however now i have an item where i'm trying to add two seperate characteristics and it just won't work.
I created the item, added the characterics, add pictures to each one as usual and then when i go on the front end and try to choose a color/size nothing changes.

it works fine though if i use just one on the characteric on the item(either i use the size or the color)

Is there anyway to downgrade back to the previous version of Hikashop? because it seems this problem keeps popping up everytime i try and do something a little bit different than usual..


wolfhomeny.com/index.php/side-tables/pro...o-leather-side-table

wolfhomeny.com/index.php/side-tables/pro...o-leather-side-table

Last edit: 10 years 2 weeks ago by wolfhome. Reason: adding links

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 2 weeks ago #213056

Hi,

I see that you have a characteristic in dropdown an another in radio.
The javascript function "hikashopUpdateVariant" handle radio and dropdown : but it looks like it does not handle both in the same time.
So when the javascript is processed, there is an error for the line

selection = selection + \'_\' + document.getElementById(\'hikashop_product_characteristic_\'+options[i]).value;
because the characteristic in radio display does not generate any ID..

I created a bug report ticket for that issue and I'll see with the rest of the HikaShop team how fix that problem.

Regarding the code, I'm not sure that it's a new bug (unless that before the different display mode wasn't managed).
For the moment, I recommend you to use one unique characteristic selection mode.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

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

  • Posts: 84305
  • Thank you received: 13700
  • MODERATOR
10 years 2 weeks ago #213067

Hi,

This bug is already fixed as far as I know on our end.
Please download the latest install package via the menu My account>My subscriptions on our website and install it on your website.
That will add the patch for that.

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

Time to create page: 0.095 seconds
Powered by Kunena Forum