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

#   Select variants when making orders

##

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

Less More

- Posts: 11
- Thank you received: 0
-
-

6 years 10 months ago [\#314207](#314207) by [javabek](/forum/user/59013-javabek "View javabek's Profile")  *[Select variants when making orders](/forum/19-hikamarket/898896-select-variants-when-making-orders#314207 "-- HikaShop version -- : 2.0.1 -- HikaMarket version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  It is possible when vendor create orders, can choose variants of products? In Hikamarket?")* was created by *[javabek](/forum/user/59013-javabek "View javabek's Profile")*

-- HikaShop version -- : 2.0.1
-- HikaMarket version -- : 4.2.2
-- Joomla version -- : 3.9.13
-- PHP version -- : 7.2

It is possible when vendor create orders, can choose variants of products? In Hikamarket?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

6 years 10 months ago [\#314209](#314209) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Select variants when making orders](/forum/19-hikamarket/898896-select-variants-when-making-orders#314209 "-- HikaShop version -- : 2.0.1 -- HikaMarket version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  It is possible when vendor create orders, can choose variants of products? In Hikamarket?")*

Hello,

In the HikaMarket order edition, when you add an existing product, you can select the main product but also its variants.
There is a "+" like for the categories and it will display the products' variants, so the vendor will be able to choose the one he wants.
HikaMarket will retrieve the product price and details automatically to fill the form.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

6 years 10 months ago [\#314217](#314217) by [javabek](/forum/user/59013-javabek "View javabek's Profile")  Replied by *[javabek](/forum/user/59013-javabek "View javabek's Profile")* on topic *[Select variants when making orders](/forum/19-hikamarket/898896-select-variants-when-making-orders#314217 "-- HikaShop version -- : 2.0.1 -- HikaMarket version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  It is possible when vendor create orders, can choose variants of products? In Hikamarket?")*

Please, can you send me screenshot of "+" button, i can't find it

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

6 years 10 months ago [\#314229](#314229) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Select variants when making orders](/forum/19-hikamarket/898896-select-variants-when-making-orders#314229 "-- HikaShop version -- : 2.0.1 -- HikaMarket version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  It is possible when vendor create orders, can choose variants of products? In Hikamarket?")*

Hello,

Since there is no variants for the demo account in the demo website, I can just show you how the "+" is displayed.
It's the same for the selection of variants than the folders : [ pasteboard.co/IN4vtRk.png](https://pasteboard.co/IN4vtRk.png)
But instead of showing the folder icon, the main product still have the "product icon" with the "+" just near so you can see its variants.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [javabek](/forum/user/59013-javabek "View javabek's Profile")

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

6 years 10 months ago [\#314248](#314248) by [javabek](/forum/user/59013-javabek "View javabek's Profile")  Replied by *[javabek](/forum/user/59013-javabek "View javabek's Profile")* on topic *[Select variants when making orders](/forum/19-hikamarket/898896-select-variants-when-making-orders#314248 "-- HikaShop version -- : 2.0.1 -- HikaMarket version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  It is possible when vendor create orders, can choose variants of products? In Hikamarket?")*

Thanks, it was helpfull for me, but when you search by product_code of variants (for example product_code of variant is 1234_20), nothing appear in search result, but it works when you search by product_code of main product (for example product_code of main product is 1234), it detect only the main product not variants in order section in Hikamarket, please can you solve this problem, you may write any php code

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

6 years 10 months ago [\#314252](#314252) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Select variants when making orders](/forum/19-hikamarket/898896-select-variants-when-making-orders#314252 "-- HikaShop version -- : 2.0.1 -- HikaMarket version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  It is possible when vendor create orders, can choose variants of products? In Hikamarket?")*

Hello,

We will look into it.
The namebox system is part of HikaShop and HikaMarket ; since you're using the search, it filters the content and it also filter the variants under the product.
We have to see how we can improve that behavior in all components.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

6 years 10 months ago [\#314355](#314355) by [javabek](/forum/user/59013-javabek "View javabek's Profile")  Replied by *[javabek](/forum/user/59013-javabek "View javabek's Profile")* on topic *[Select variants when making orders](/forum/19-hikamarket/898896-select-variants-when-making-orders#314355 "-- HikaShop version -- : 2.0.1 -- HikaMarket version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  It is possible when vendor create orders, can choose variants of products? In Hikamarket?")*

can you do something to enable this function, i'm ready to pay for it (to enable searching by product_code of variants in namebox system in hikamarket order edition)

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

6 years 10 months ago [\#314368](#314368) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Select variants when making orders](/forum/19-hikamarket/898896-select-variants-when-making-orders#314368 "-- HikaShop version -- : 2.0.1 -- HikaMarket version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  It is possible when vendor create orders, can choose variants of products? In Hikamarket?")*

Hello,

Can you please clarify your request ?
The search on "product code" should work on variants too if their product code is what you're looking for.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

6 years 10 months ago [\#314383](#314383) by [javabek](/forum/user/59013-javabek "View javabek's Profile")  Replied by *[javabek](/forum/user/59013-javabek "View javabek's Profile")* on topic *[Select variants when making orders](/forum/19-hikamarket/898896-select-variants-when-making-orders#314383 "-- HikaShop version -- : 2.0.1 -- HikaMarket version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  It is possible when vendor create orders, can choose variants of products? In Hikamarket?")*

When you type product_code of variants in namebox field, not finding the variant, but it work when you type product_code of main product, it finds only main product

I need function that when you type product_code of variants, it should find the variant of product (see the attachment)
It work on you?

- [ ![product&#95;code.jpg](/forum/attachment/48457) ](/forum/attachment/48457 "product&#95;code.jpg") [ ](/forum/attachment/48457?download=1 "product&#95;code.jpg")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

6 years 10 months ago [\#314385](#314385) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Select variants when making orders](/forum/19-hikamarket/898896-select-variants-when-making-orders#314385 "-- HikaShop version -- : 2.0.1 -- HikaMarket version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  It is possible when vendor create orders, can choose variants of products? In Hikamarket?")*

Hello,

We were able to understand and reproduce the issue.
Please edit the file "administrator/components/com_hikamarket/classes/product.php" and replace the content Code:

if($load_variants) { $typeConfig['options']['tree_url'] .= '&amp;variants=1'; }

By Code:

if($load_variants) { $typeConfig['options']['tree_url'] .= '&amp;variants=1'; $typeConfig['url'] .= '&amp;variants=1'; }

And it should fix the issue.
You can use the same patch for the HikaShop product class ; it will affect the namebox search in the HikaShop backend.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [javabek](/forum/user/59013-javabek "View javabek's Profile")

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

6 years 10 months ago [\#314426](#314426) by [javabek](/forum/user/59013-javabek "View javabek's Profile")  Replied by *[javabek](/forum/user/59013-javabek "View javabek's Profile")* on topic *[Select variants when making orders](/forum/19-hikamarket/898896-select-variants-when-making-orders#314426 "-- HikaShop version -- : 2.0.1 -- HikaMarket version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  It is possible when vendor create orders, can choose variants of products? In Hikamarket?")*

Thans it's worked!
U can write me ur e-wallet, i'll donate)

By adding this code we are able to select "+" button after typing in search area, it's good

**But is it possible when you paste or type product\_code of variants, would it appear only one variant of product? without selecting "+" button**

See video:
[ drive.google.com/file/d/1yL1HNkCDTwMHHHz...tBR/view?usp=sharing](https://drive.google.com/file/d/1yL1HNkCDTwMHHHzCDrPU7cie5Ms4dtBR/view?usp=sharing)

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

6 years 10 months ago [\#314438](#314438) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Select variants when making orders](/forum/19-hikamarket/898896-select-variants-when-making-orders#314438 "-- HikaShop version -- : 2.0.1 -- HikaMarket version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  It is possible when vendor create orders, can choose variants of products? In Hikamarket?")*

Hello,

In order to allow the search directly on variants, it requires more modifications in the class ; to load the main product when a variant is found.
It would be possible to it will require some time to develop the appropriate patch ; it would be more than a few lines of code.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [javabek](/forum/user/59013-javabek "View javabek's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODk4ODk2LXNlbGVjdC12YXJpYW50cy13aGVuLW1ha2luZy1vcmRlcnM/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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.087 seconds

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