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

#  Profile for javabek

##

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

**[ Offline](/forum/user/59013-javabek)**

- **User Type:** User

- **Register Date:** 24 Dec 2019
- **Last login:** 6 years 8 months ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 22:58

- **Posts:** 11
- **Profile views:** 34

- **Gender:** Unknown
- **Birthdate:** Unknown

- Posts

#  javabek's recent posts  (11 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/25-install-update/899263-how-to-automatically-choose-variants-based-on-the-quantity-of-the-main-product#316137) | [how to automatically choose variants based on the quantity of the main product](/forum/25-install-update/899263-how-to-automatically-choose-variants-based-on-the-quantity-of-the-main-product#316137 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.2  hello, first of all i created variants like: 2, 3, 4, 5, 6 See picture:  So, I need when you indicate the quantity of the main product - 6: (if Quantity of main product is 5, then variants should appear up to 5, like 2,3,4,5) See picture:  then the variants should appear (auto add) variants automatically as shown See picture:  Please can you write some php code to solve this")         Category: [Install &amp; Update](/forum/25-install-update "Having an installation or update issue? You will probably find some help here.")     Topic started 6 years 8 months ago, by [javabek](/forum/user/59013-javabek "View javabek's Profile")       [Last Post](/forum/25-install-update/899263-how-to-automatically-choose-variants-based-on-the-quantity-of-the-main-product#316140 "Hi,  If you really want to do what you're talking about, the only solution I can see is to edit the file components/com&#95;hikashop/views/product/view.html.php and in the &quot;show&quot; function, after the query to load the main details of the product, dynamically generate the variants with 2 or 3 MySQL queries based on the quantity of the product. Or even generate them all in the backend, and remove the ones you don't want once they are loaded by the MySQL query in the &quot;show&quot; function, it will be simpler.") 6 years 8 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:637 | [Last Post](/forum/25-install-update/899263-how-to-automatically-choose-variants-based-on-the-quantity-of-the-main-product#316140 "Hi,  If you really want to do what you're talking about, the only solution I can see is to edit the file components/com&#95;hikashop/views/product/view.html.php and in the &quot;show&quot; function, after the query to load the main details of the product, dynamically generate the variants with 2 or 3 MySQL queries based on the quantity of the product. Or even generate them all in the backend, and remove the ones you don't want once they are loaded by the MySQL query in the &quot;show&quot; function, it will be simpler.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      6 years 8 months ago |
| [](/forum/25-install-update/899263-how-to-automatically-choose-variants-based-on-the-quantity-of-the-main-product#316128) | [how to automatically choose variants based on the quantity of the main product](/forum/25-install-update/899263-how-to-automatically-choose-variants-based-on-the-quantity-of-the-main-product#316128 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.2  hello, first of all i created variants like: 2, 3, 4, 5, 6 See picture:  So, I need when you indicate the quantity of the main product - 6: (if Quantity of main product is 5, then variants should appear up to 5, like 2,3,4,5) See picture:  then the variants should appear (auto add) variants automatically as shown See picture:  Please can you write some php code to solve this")         Category: [Install &amp; Update](/forum/25-install-update "Having an installation or update issue? You will probably find some help here.")     Topic started 6 years 8 months ago, by [javabek](/forum/user/59013-javabek "View javabek's Profile")       [Last Post](/forum/25-install-update/899263-how-to-automatically-choose-variants-based-on-the-quantity-of-the-main-product#316140 "Hi,  If you really want to do what you're talking about, the only solution I can see is to edit the file components/com&#95;hikashop/views/product/view.html.php and in the &quot;show&quot; function, after the query to load the main details of the product, dynamically generate the variants with 2 or 3 MySQL queries based on the quantity of the product. Or even generate them all in the backend, and remove the ones you don't want once they are loaded by the MySQL query in the &quot;show&quot; function, it will be simpler.") 6 years 8 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:637 | [Last Post](/forum/25-install-update/899263-how-to-automatically-choose-variants-based-on-the-quantity-of-the-main-product#316140 "Hi,  If you really want to do what you're talking about, the only solution I can see is to edit the file components/com&#95;hikashop/views/product/view.html.php and in the &quot;show&quot; function, after the query to load the main details of the product, dynamically generate the variants with 2 or 3 MySQL queries based on the quantity of the product. Or even generate them all in the backend, and remove the ones you don't want once they are loaded by the MySQL query in the &quot;show&quot; function, it will be simpler.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      6 years 8 months ago |
| [](/forum/26-product-category-display/899020-variant-listing-order-error#314930) | [Variant listing order error](/forum/26-product-category-display/899020-variant-listing-order-error#314930 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.2  You see the list variants in the order is not ascending (is 1,11,22,3,4) i need the variants list sorted like 1,3,4,11,22  Please can you write some php code for doing that")         Category: [Product &amp; Category Display](/forum/26-product-category-display "Questions about product and category display. You can't find how to make Hikashop looks incredible? The answer is here!")     Topic started 6 years 9 months ago, by [javabek](/forum/user/59013-javabek "View javabek's Profile")       [Last Post](/forum/26-product-category-display/899020-variant-listing-order-error#314958 "Hi,  No. However, what you can do is create a product (or several) and configure it like you want with the variants you want. Then, on the products listing, select that product and click on the &quot;copy&quot; button to duplicate it. Then, you can edit the copy and just modify the copy, which will already have the variants setup like the original.") 6 years 9 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:5  Views:365 | [Last Post](/forum/26-product-category-display/899020-variant-listing-order-error#314958 "Hi,  No. However, what you can do is create a product (or several) and configure it like you want with the variants you want. Then, on the products listing, select that product and click on the &quot;copy&quot; button to duplicate it. Then, you can edit the copy and just modify the copy, which will already have the variants setup like the original.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      6 years 9 months ago |
| [](/forum/26-product-category-display/899020-variant-listing-order-error#314893) | [Variant listing order error](/forum/26-product-category-display/899020-variant-listing-order-error#314893 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.2  You see the list variants in the order is not ascending (is 1,11,22,3,4) i need the variants list sorted like 1,3,4,11,22  Please can you write some php code for doing that")         Category: [Product &amp; Category Display](/forum/26-product-category-display "Questions about product and category display. You can't find how to make Hikashop looks incredible? The answer is here!")     Topic started 6 years 9 months ago, by [javabek](/forum/user/59013-javabek "View javabek's Profile")       [Last Post](/forum/26-product-category-display/899020-variant-listing-order-error#314958 "Hi,  No. However, what you can do is create a product (or several) and configure it like you want with the variants you want. Then, on the products listing, select that product and click on the &quot;copy&quot; button to duplicate it. Then, you can edit the copy and just modify the copy, which will already have the variants setup like the original.") 6 years 9 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:5  Views:365 | [Last Post](/forum/26-product-category-display/899020-variant-listing-order-error#314958 "Hi,  No. However, what you can do is create a product (or several) and configure it like you want with the variants you want. Then, on the products listing, select that product and click on the &quot;copy&quot; button to duplicate it. Then, you can edit the copy and just modify the copy, which will already have the variants setup like the original.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      6 years 9 months ago |
| [](/forum/26-product-category-display/899020-variant-listing-order-error#314780) | [Variant listing order error](/forum/26-product-category-display/899020-variant-listing-order-error#314780 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.2  You see the list variants in the order is not ascending (is 1,11,22,3,4) i need the variants list sorted like 1,3,4,11,22  Please can you write some php code for doing that")         Category: [Product &amp; Category Display](/forum/26-product-category-display "Questions about product and category display. You can't find how to make Hikashop looks incredible? The answer is here!")     Topic started 6 years 9 months ago, by [javabek](/forum/user/59013-javabek "View javabek's Profile")       [Last Post](/forum/26-product-category-display/899020-variant-listing-order-error#314958 "Hi,  No. However, what you can do is create a product (or several) and configure it like you want with the variants you want. Then, on the products listing, select that product and click on the &quot;copy&quot; button to duplicate it. Then, you can edit the copy and just modify the copy, which will already have the variants setup like the original.") 6 years 9 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:5  Views:365 | [Last Post](/forum/26-product-category-display/899020-variant-listing-order-error#314958 "Hi,  No. However, what you can do is create a product (or several) and configure it like you want with the variants you want. Then, on the products listing, select that product and click on the &quot;copy&quot; button to duplicate it. Then, you can edit the copy and just modify the copy, which will already have the variants setup like the original.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      6 years 9 months ago |
| [](/forum/19-hikamarket/898896-select-variants-when-making-orders#314426) | [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?")         Category: [HikaMarket](/forum/19-hikamarket "A Joomla! component for HikaShop which add front-end edition and multi-vendor features.")     Topic started 6 years 10 months ago, by [javabek](/forum/user/59013-javabek "View javabek's Profile")       [Last Post](/forum/19-hikamarket/898896-select-variants-when-making-orders#314438 "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,") 6 years 10 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:11  Views:1228 | [Last Post](/forum/19-hikamarket/898896-select-variants-when-making-orders#314438 "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,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      6 years 10 months ago |
| [](/forum/19-hikamarket/898896-select-variants-when-making-orders#314383) | [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?")         Category: [HikaMarket](/forum/19-hikamarket "A Joomla! component for HikaShop which add front-end edition and multi-vendor features.")     Topic started 6 years 10 months ago, by [javabek](/forum/user/59013-javabek "View javabek's Profile")       [Last Post](/forum/19-hikamarket/898896-select-variants-when-making-orders#314438 "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,") 6 years 10 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:11  Views:1228 | [Last Post](/forum/19-hikamarket/898896-select-variants-when-making-orders#314438 "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,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      6 years 10 months ago |
| [](/forum/19-hikamarket/898896-select-variants-when-making-orders#314355) | [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?")         Category: [HikaMarket](/forum/19-hikamarket "A Joomla! component for HikaShop which add front-end edition and multi-vendor features.")     Topic started 6 years 10 months ago, by [javabek](/forum/user/59013-javabek "View javabek's Profile")       [Last Post](/forum/19-hikamarket/898896-select-variants-when-making-orders#314438 "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,") 6 years 10 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:11  Views:1228 | [Last Post](/forum/19-hikamarket/898896-select-variants-when-making-orders#314438 "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,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      6 years 10 months ago |
| [](/forum/19-hikamarket/898896-select-variants-when-making-orders#314248) | [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?")         Category: [HikaMarket](/forum/19-hikamarket "A Joomla! component for HikaShop which add front-end edition and multi-vendor features.")     Topic started 6 years 10 months ago, by [javabek](/forum/user/59013-javabek "View javabek's Profile")       [Last Post](/forum/19-hikamarket/898896-select-variants-when-making-orders#314438 "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,") 6 years 10 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:11  Views:1228 | [Last Post](/forum/19-hikamarket/898896-select-variants-when-making-orders#314438 "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,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      6 years 10 months ago |
| [](/forum/19-hikamarket/898896-select-variants-when-making-orders#314217) | [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?")         Category: [HikaMarket](/forum/19-hikamarket "A Joomla! component for HikaShop which add front-end edition and multi-vendor features.")     Topic started 6 years 10 months ago, by [javabek](/forum/user/59013-javabek "View javabek's Profile")       [Last Post](/forum/19-hikamarket/898896-select-variants-when-making-orders#314438 "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,") 6 years 10 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:11  Views:1228 | [Last Post](/forum/19-hikamarket/898896-select-variants-when-making-orders#314438 "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,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      6 years 10 months ago |

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

Time to create page: 0.057 seconds

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