- Posts: 42
- Thank you received: 1
When I buy Upgrade item it will go to cart like two-three products or more...
1 year 7 months ago - 1 year 7 months ago #365775
by marto42
When I buy Upgrade item it will go to cart like two-three products or more... was created by marto42
-- HikaShop version -- : 5.1.3
-- Joomla version -- : 5.2.4
-- PHP version -- : 8.3
-- Browser(s) name and version -- : chrome 133.0.6943.127
Hello, I had done a product like your description: demo.hikashop.com/index.php/en/hikashop/...ns/product/48-laptop , but in cart appear like 3-4 products. I made a product with "option" other products with variations. I would like to see only one product in the cart, but now there are 3-4 products, if some options is choosen. How can I make upgraded items to be only one product in cart not separately?
-- Joomla version -- : 5.2.4
-- PHP version -- : 8.3
-- Browser(s) name and version -- : chrome 133.0.6943.127
Hello, I had done a product like your description: demo.hikashop.com/index.php/en/hikashop/...ns/product/48-laptop , but in cart appear like 3-4 products. I made a product with "option" other products with variations. I would like to see only one product in the cart, but now there are 3-4 products, if some options is choosen. How can I make upgraded items to be only one product in cart not separately?
Last edit: 1 year 7 months ago by marto42.
Please Log in or Create an account to join the conversation.
1 year 7 months ago #365776
by nicolas
Replied by nicolas on topic When I buy Upgrade item it will go to cart like two-three products or more...
Hi,
In the HikaShop configuration page, you want to activate the "group options with product" setting:
www.hikashop.com/support/documentation/5...ig.html#main_product
In the HikaShop configuration page, you want to activate the "group options with product" setting:
www.hikashop.com/support/documentation/5...ig.html#main_product
The following user(s) said Thank You: marto42
Please Log in or Create an account to join the conversation.
1 year 7 months ago #365777
by marto42
Replied by marto42 on topic When I buy Upgrade item it will go to cart like two-three products or more...
Thank you very much!
Please Log in or Create an account to join the conversation.
1 year 7 months ago #365807
by marto42
Replied by marto42 on topic When I buy Upgrade item it will go to cart like two-three products or more...
I forgot,
How can I hide a part of options?
What I mean?! When the customer choose some value from the first dropdown option menu, to appear other single dropdown menu, depending on first choice?
How can I hide a part of options?
What I mean?! When the customer choose some value from the first dropdown option menu, to appear other single dropdown menu, depending on first choice?
Please Log in or Create an account to join the conversation.
1 year 7 months ago #365808
by nicolas
Replied by nicolas on topic When I buy Upgrade item it will go to cart like two-three products or more...
Hi,
There is no mechanism for this in HikaShop.
You have 3 solutions for this:
- if you want to use "options" like you're already using, then the only solution is to edit the product / options view via the menu Display>Views and add custom javascript code to it to handle this mechanism:
www.hikashop.com/forum/content-creation/...n-option-choice.html
- Instead of using "options", you could switch to creating custom fields of the table "item" via the menu Display>Custom fields:
www.hikashop.com/support/documentation/4...shop-field-form.html
In the settings of custom fields, you have the setting "display limited to" which allows you to display / hide fields based on other fields.
- Instead of using "options", you could use characteristics:
www.hikashop.com/support/support/documen...html#characteristics
Characteristics can be nice in some cases, but they have many drawbacks too (you can't have many of them, you need to configure all the potential combinations, etc).
There is no mechanism for this in HikaShop.
You have 3 solutions for this:
- if you want to use "options" like you're already using, then the only solution is to edit the product / options view via the menu Display>Views and add custom javascript code to it to handle this mechanism:
www.hikashop.com/forum/content-creation/...n-option-choice.html
- Instead of using "options", you could switch to creating custom fields of the table "item" via the menu Display>Custom fields:
www.hikashop.com/support/documentation/4...shop-field-form.html
In the settings of custom fields, you have the setting "display limited to" which allows you to display / hide fields based on other fields.
- Instead of using "options", you could use characteristics:
www.hikashop.com/support/support/documen...html#characteristics
Characteristics can be nice in some cases, but they have many drawbacks too (you can't have many of them, you need to configure all the potential combinations, etc).
Please Log in or Create an account to join the conversation.
1 year 7 months ago - 1 year 7 months ago #365841
by marto42
Replied by marto42 on topic When I buy Upgrade item it will go to cart like two-three products or more...
Thank you very much!
Your previous post was very helpful.
I would like to ask you the following. I have a product A that I have created with 17 variants and images of the variants. I also created Product B whose options are based on Product A. But in product B, only the drop-down menu with options of product A variants is visible. I would like to see the pictures of the variants of product A, not just text in a drop down menu!
I can achieve it again via product B variants, but that's double the work, and I've already added them as product A variants and I just want them to be visualized via a product B dropdown.
How can I do?
Your previous post was very helpful.
I would like to ask you the following. I have a product A that I have created with 17 variants and images of the variants. I also created Product B whose options are based on Product A. But in product B, only the drop-down menu with options of product A variants is visible. I would like to see the pictures of the variants of product A, not just text in a drop down menu!
I can achieve it again via product B variants, but that's double the work, and I've already added them as product A variants and I just want them to be visualized via a product B dropdown.
How can I do?
Last edit: 1 year 7 months ago by marto42.
Please Log in or Create an account to join the conversation.
1 year 7 months ago #365844
by nicolas
Replied by nicolas on topic When I buy Upgrade item it will go to cart like two-three products or more...
Hi,
When you have a product A with variants, and you want to create another product, B, with the same variants, with the same images, what you can do is to select product A and click on the "copy" button on the products listing. It will generate a copy of product A, with all the variants also copied, with the images in each variant also copied. Then, rename the copy to "B" and you're done.
When you have a product A with variants, and you want to create another product, B, with the same variants, with the same images, what you can do is to select product A and click on the "copy" button on the products listing. It will generate a copy of product A, with all the variants also copied, with the images in each variant also copied. Then, rename the copy to "B" and you're done.
The following user(s) said Thank You: marto42
Please Log in or Create an account to join the conversation.
1 year 7 months ago #365851
by marto42
Replied by marto42 on topic When I buy Upgrade item it will go to cart like two-three products or more...
Thank you so much!
And last question. I create a custom field for product via AJAX picture. Everything is ok in frontend. But when customers click on uploaded picture it started to be downloading. I would like to open picture in pop up windows, or in gallery if there are more than one ajax picture uploaded!
How to do it?
And last question. I create a custom field for product via AJAX picture. Everything is ok in frontend. But when customers click on uploaded picture it started to be downloading. I would like to open picture in pop up windows, or in gallery if there are more than one ajax picture uploaded!
How to do it?
Please Log in or Create an account to join the conversation.
1 year 7 months ago #365854
by nicolas
Replied by nicolas on topic When I buy Upgrade item it will go to cart like two-three products or more...
Hi,
If you edit the custom field, you can see a setting "Format for each image" where you can configure what HTML should be generated for each image. And you can see that by default, it's an img tag (to display the image), surrounded by an "a" tag to make it clickable.
So, there you can customize the HTML code to make it a popup.
The simplest will be to add this extension on your website ( extensions.joomla.org/extension/style-a-...ps-a-iframes/modals/ ) and then you can add the tag of that extension in the "Format for each image" setting of the custom field to make the img tag work as a popup.
If you edit the custom field, you can see a setting "Format for each image" where you can configure what HTML should be generated for each image. And you can see that by default, it's an img tag (to display the image), surrounded by an "a" tag to make it clickable.
So, there you can customize the HTML code to make it a popup.
The simplest will be to add this extension on your website ( extensions.joomla.org/extension/style-a-...ps-a-iframes/modals/ ) and then you can add the tag of that extension in the "Format for each image" setting of the custom field to make the img tag work as a popup.
Please Log in or Create an account to join the conversation.
Time to create page: 0.222 seconds