product with a list of subproduct

  • Posts: 34
  • Thank you received: 0
9 years 11 months ago #217157

-- HikaShop version -- : 2.5.0

Hi,
Is possible to do something like this (look attachment file)?
I would like to see in a product a list of product i can buy per quantity and different price.
Like this site: www.partecipazioninkarta.it/partecipazio...VVpPVnpWUlZrUkJPUT09
Is it possible?
Thanks and best regards,
Loredana

Attachments:

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

  • Posts: 84306
  • Thank you received: 13701
  • MODERATOR
9 years 11 months ago #217163

Hi,

You have two options:
- You use the characteristics system (one characteristic, one value of the characteristic for each line) and then set the "characteristic display method" setting of the HikaShop configuration to "list" and the "Display the quantity field on the product page" setting to "global on listings" there. That will display something like that, minus the total display, and you'll have one row per value together with its quantity field and a main add to cart button.
- You can also use the options system. In that case, you'll have one dropdown for each option (one option for each row) with in the dropdown the possibility to select the quantity for each option. The system will calculate the total with the options selected automatically with that method, but it will display as dropdowns, not with quantity fields like on your screenshot.

The following user(s) said Thank You: co88agency

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

  • Posts: 34
  • Thank you received: 0
9 years 11 months ago #217231

Hi Nicolas!
I have two more questions... The first solution is mine but... Cart display the number of total characteristics but I would like that one characteristic is one product. (ex. characteristic 1: quantity 40; characteristic 2: quantity 32; characteristic 3: quantity 20 --> Cart display 3 product).
Second... In every product I have some text custom fields, they appear only if i set a price for product but my main product doesn't have a price... how can I do?
Best regards,
Loredana

Last edit: 9 years 11 months ago by co88agency.

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

  • Posts: 84306
  • Thank you received: 13701
  • MODERATOR
9 years 11 months ago #217241

Hi,

1. The cart will have one row per variant like you want. There is actually no option to have it differently.

2. I suppose that it's because you have the "display add to cart button for free products" setting of the HikaShop configuration turned off. Turn it on and you should see them.

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

  • Posts: 34
  • Thank you received: 0
9 years 11 months ago #217393

Hi,
thank you very very much...
Another question... in my characteristics list I don't have "quantity" word for its column, like you see in attachment file... why?
Best regards,
Loredana

Attachments:

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

  • Posts: 84306
  • Thank you received: 13701
  • MODERATOR
9 years 11 months ago #217411

Hi,

Because we thought that it was self explanatory and that it didn't necessitate a title.
If you want to add one, you can edit the file "show_block_characteristic" via the menu Display>Views and add your text between the tags:
<th class="hikashop_product_add_to_cart title hikashop_variants_table_th">
</th>

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

Time to create page: 0.071 seconds
Powered by Kunena Forum