[Skip to main content](#vessel-content)

#   inserting the price of variant Product in Article

##

- **[Drag0n](/forum/user/14015-drag0n "View Drag0n's Profile")**
- [![Drag0n's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14015-drag0n "View Drag0n's Profile") Topic Author
- [ Offline](/forum/user/14015-drag0n)

Less More

- Posts: 10
- Thank you received: 0
-
-

13 years 7 months ago [\#93736](#93736) by [Drag0n](/forum/user/14015-drag0n "View Drag0n's Profile")  *[  € 40,00   ](/forum/4-how-to/79128-inserting-the-price-of-variant-product-in-article#93736 "I have a product with three variants. Is inserted into Article &lt;div id=")*

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"&gt;inserting the price of variant Product in Article was created by *[Drag0n](/forum/user/14015-drag0n "View Drag0n's Profile")*

I have a product with three variants. Is inserted into Article   € 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5MTI4LWluc2VydGluZy10aGUtcHJpY2Utb2YtdmFyaWFudC1wcm9kdWN0LWluLWFydGljbGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 7 months ago [\#93847](#93847) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[  € 40,00   ](/forum/4-how-to/79128-inserting-the-price-of-variant-product-in-article#93847 "I have a product with three variants. Is inserted into Article &lt;div id=")*

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"&gt;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).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5MTI4LWluc2VydGluZy10aGUtcHJpY2Utb2YtdmFyaWFudC1wcm9kdWN0LWluLWFydGljbGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Drag0n](/forum/user/14015-drag0n "View Drag0n's Profile")**
- [![Drag0n's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14015-drag0n "View Drag0n's Profile") Topic Author
- [ Offline](/forum/user/14015-drag0n)

Less More

- Posts: 10
- Thank you received: 0
-
-

13 years 7 months ago [\#95136](#95136) by [Drag0n](/forum/user/14015-drag0n "View Drag0n's Profile")  Replied by *[Drag0n](/forum/user/14015-drag0n "View Drag0n's Profile")* on topic *[  € 40,00   ](/forum/4-how-to/79128-inserting-the-price-of-variant-product-in-article#95136 "I have a product with three variants. Is inserted into Article &lt;div id=")*

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"&gt;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!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5MTI4LWluc2VydGluZy10aGUtcHJpY2Utb2YtdmFyaWFudC1wcm9kdWN0LWluLWFydGljbGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.116 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
