inserting the price of variant Product in Article

  • Posts: 10
  • Thank you received: 0
11 years 8 months ago #93736

I have a product with three variants. Is inserted into Article {product}16|pricedis1{/product}
If 16 - Product ID, shows all three prices, if write 17 - Variant ID, not show anything...
I can insert into article the price of variant Product?

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

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #93847

Hi,

The Hikashop product insert is essentially used to display PRODUCT for the moment, then you'll have the "choose option" button to let your customer choose the variant that he want to purchase.

Ps: We can eventually do it for next versions of the Hikashop product insert plugin (I'll put it on our todo list).

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

  • Posts: 10
  • Thank you received: 0
11 years 7 months ago #95136

Thanks. That worked temporarily:
In
\plugins\system\hikashopproduktinsert\hikashopproduktinsert.php
Must change in 77:
$product_query = 'SELECT * FROM ' . hikashop_table('product') . ' WHERE product_id IN (' . implode(',', $ids) . ') AND product_access=\'all\' AND product_published=1';

The price of variant insert - works!

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

Time to create page: 0.067 seconds
Powered by Kunena Forum