show variants as separate products?

  • Posts: 3
  • Thank you received: 0
13 years 9 months ago #6072

Is there a way to show each variant separately in a category?

I have several products that come in multiple fragrances. But instead of the categories just displaying "lotion" and "body spray," I want each scent to display separately. Is that possible?

Sorry I don't really have anything to show on my site. I'm still in the beginning states of setup. But here is an example at Ulta of what I don't want: bit.ly/hU5Xjb The China Glaze nail polish shows up as one product, and you have to click the product to see the available colors. I want each color to show up as a separate product.

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
13 years 9 months ago #6073

So why not just create separate products ?

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

  • Posts: 3
  • Thank you received: 0
13 years 9 months ago #6078

Well that's what I started doing. But I have 34 different scents. So I have to do it 34 times for each product type (lotion, body spray, etc.). And I really didn't want to do that much typing. And then I have other products that have 10 completely different scents.

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
13 years 9 months ago #6079

In the Business edition of HikaShop, there is a "copy" button on the products listing page so that you can clone your products easily and just change the image and name (for the color for example).

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

  • Posts: 3
  • Thank you received: 0
13 years 9 months ago #6080

Ok, so I'm more or less out of luck with the free version, then? Thanks. I'll check into the business version.

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

  • Posts: 516
  • Thank you received: 8
  • Hikashop Business
13 years 9 months ago #6415

Not sure if this is a bug or is it just me? I have just got the business version as I have a similar problem with the same product in 20 sizes and 20+ colours, I thought the copy function would save me load of time but when I copy a product it copies the variant prices across but leaves the original without any prices in the varients? :(

Can anyone advise please.

thanks in advance.

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
13 years 9 months ago #6416

You're right. There is a problem with the copy of variants of products.
Could you edit the file administrator/components/com_hikashop/helpers/import.php and add the line:
unset($copy->product_id);

just after the line:
$copy->product_code = $copy->product_code.'_copy'.rand();

and try again to copy a product with variants with prices ?
That fixed the problem you're describing on our end.

Last edit: 13 years 9 months ago by nicolas.

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

  • Posts: 516
  • Thank you received: 8
  • Hikashop Business
13 years 9 months ago #6417

Yeah top man that worked ... thank you for the lightening fast reply.

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

  • Posts: 516
  • Thank you received: 8
  • Hikashop Business
13 years 8 months ago #6994

Hi again, the copy works fine but there is a minor what I think is a fault, when copying a product 'pictures' that are in the to be copied product copy across in to the charcteristics even though there are no pictures charcteristics in the where the copy has been made from? not a big problem as I just delete them when amending the charcteristics.

thanks

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
13 years 8 months ago #7003

Hi,

I'm not sure I understand your problem. Could you explain more (maybe with screenshots ?) ?

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

  • Posts: 516
  • Thank you received: 8
  • Hikashop Business
13 years 8 months ago #7005

Hi, just tried this on the demo site and it does the same thing
I used the knives for the test. In your kitchen knives product, you have the item picture in your main product screen, you do not have any pictures of a knife in your characteristics. If you then copy a product, the knife picture then populates in the characteristics of the copied product you then have to go in to 'manage varients' and delete them.

hope this is a bit clearer.

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
13 years 8 months ago #7011

I see what you mean. We need to debug that on our end.

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
13 years 8 months ago #7014

If you edit the file administrator/components/com_hikashop/helpers/import.php and change the line:
if(empty($product->$type) && empty($product->hikashop_update)){
to:
if(!isset($product->$type) && empty($product->hikashop_update)){

That should fix the problem.

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

  • Posts: 27
  • Thank you received: 0
8 years 1 month ago #249142

Hello,

I have a very similar problem. I have a product with 39 variants, spread among several characteristics. When I copy this product, all variants are lost. I would need the copy to be an exact copy, with all variants etc, is there a way to do this ?

Many Thanks
Raphael

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
8 years 1 month ago #249145

Hi,

It's probably because you changed the product code of the variants.
When the variants' product code don't contain the main product product code, the variants are not copied together with the product.

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

  • Posts: 27
  • Thank you received: 0
8 years 1 month ago #249216

Hello Nicolas and thanks for the quick answer,

unfortunatelly I don't think it's that as on one product, the copy function works (copies (nearly) all the variants) and on another product it simply doesn't copy any variant.
my product codes are have all the same base with "productname" followed by a sequencial number, for example "productname1" and then first variant will have product code "productname2" etc...

Am I missing something or it might be a bug ?

Many Thanks
Raphael

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
8 years 1 month ago #249240

Hi,

It works fine on my end.
Could you provide some screenshots of the product/variants for one product where it works and for one where is doesn't ?
There must be something different between the two.

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

  • Posts: 27
  • Thank you received: 0
8 years 1 month ago #249308

Hello Nicolas,

You were actually right, after double checking, it's only the variants with the same product code as the main that got copied.

Many Thanks
Raphael

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

Time to create page: 0.098 seconds
Powered by Kunena Forum