- Posts: 10
- Thank you received: 0
inserting the price of variant Product in Article
13 years 7 months ago #93736
by Drag0n
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?" class="hasTooltip topictitle">inserting the price of variant Product in Article was created by Drag0n
I have a product with three variants. Is inserted into Article
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?
€ 40,00
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.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 7 months ago #93847
by Mohamed Thelji
Replied by Mohamed Thelji on topic
€ 40,00
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?" class="hasTooltip topictitle">inserting the price of variant Product in Article
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).
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.
13 years 7 months ago #95136
by Drag0n
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?" class="hasTooltip topictitle">inserting the price of variant Product in Article
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!
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.108 seconds