Product as Options VS Custom Field Item MYSQL query Product

  • Posts: 567
  • Thank you received: 11
2 years 4 months ago #345953

-- HikaShop version -- : 4.6.2
-- Joomla version -- : 3.9.10
-- PHP version -- : 7.2

Hi

We face a issue here to group some product as "options" of one main products

We tried 2 methods
1. Options by selecting the other sub product
- however, this method all work great, product successfully added to cart, pricing calculated correctly, but it serve all Options as main product in cart and order printing, we need it to group under the main product


2. Custom Field
- we tried this method it work great as well by selecting all the add-on product thru checkbox, it group correct all product under the main product, but, the pricing is not calculated in

Is there a way we can work on to
have product group under 1 main product and with pricing calculation?

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

  • Posts: 4785
  • Thank you received: 649
  • MODERATOR
2 years 4 months ago #345963

Hello,

Did you try this option in HikaShop Configuration, see my screenshot :



And if that not enough, can you detail more and precisely your needs and the context of where the data have to be displayed.
Regards

Last edit: 2 years 4 months ago by Philip.

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

  • Posts: 567
  • Thank you received: 11
2 years 3 months ago #346039

Thank you it works very well with us

But one more thing
when these options in cart product variable, is there any diffference with normal product variable?

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

  • Posts: 83338
  • Thank you received: 13476
  • MODERATOR
2 years 3 months ago #346042

Hi,

Are you talking about the code ? In the code, an option in the cart object's products array will be similar to a main product, with the only difference being the cart_product_option_parent_id attribute not empty.

The following user(s) said Thank You: ler@singmuiheng.com

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

Time to create page: 0.059 seconds
Powered by Kunena Forum