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

#  Profile for Ducnb

##

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

**[ Offline](/forum/user/34054-ducnb)**

- **User Type:** User

- **Register Date:** 06 Sep 2014
- **Last login:** 11 years 6 months ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 08:10

- **Posts:** 6
- **Profile views:** 101

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

- Posts

#  Ducnb's recent posts  (6 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/4-how-to/876568-how-to-change-quantity-and-sell-product-by-kg#200804) | [How to change quantity and sell product by Kg?](/forum/4-how-to/876568-how-to-change-quantity-and-sell-product-by-kg#200804 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3  Hi . My website sell fruit, I want setup sell product follow kg, example: 1kg apple have price $20 ==&gt; if user buy 0.5kg will have price is $10 how to do that ? how to setup quantity dropdown field have: 0,5kg, 1kg, 1.5kg, 2kg, 2.5kg ? Please see my image to understand my idea.  Please help me.")         Category: [How to?](/forum/4-how-to "If you didn't find the answer on our documentation neither on existing posts, please ask your question here.")     Topic started 11 years 6 months ago, by [Ducnb](/forum/user/34054-ducnb "View Ducnb's Profile")       [Last Post](/forum/4-how-to/876568-how-to-change-quantity-and-sell-product-by-kg#282227 "Hi,  There is no system to have a coefficient on the quantity of the variants of products. So that would require custom plugin to calculate that if you decide to keep it like that.  Alternatively, you could have your quantity in grams. So for example, you would have 50000 of stock if you have 50kg of that product in stock. And then, instead of using variants, you could instead add prices with &quot;minimum quantity&quot; for each step you want for the selection and then set the &quot;quantity input method&quot; option of the product to &quot;show select price&quot;. So if you have prices like that for the product: min qty \| price 500 \| x 750 \| x&#42;1.5 1000 \| x&#42;2 ...etc... You would get a quantity input as a dropdown with the quantities 500, 750, 1000, etc available in it. That way, you would get a unified stock control for all the choices, but you'll loose a bit on display since you can choose what will be displayed in the dropdown for each choice. It will just be the numbers (unless you customize the display of course).") 9 years 3 days ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:7  Views:4151 | [Last Post](/forum/4-how-to/876568-how-to-change-quantity-and-sell-product-by-kg#282227 "Hi,  There is no system to have a coefficient on the quantity of the variants of products. So that would require custom plugin to calculate that if you decide to keep it like that.  Alternatively, you could have your quantity in grams. So for example, you would have 50000 of stock if you have 50kg of that product in stock. And then, instead of using variants, you could instead add prices with &quot;minimum quantity&quot; for each step you want for the selection and then set the &quot;quantity input method&quot; option of the product to &quot;show select price&quot;. So if you have prices like that for the product: min qty \| price 500 \| x 750 \| x&#42;1.5 1000 \| x&#42;2 ...etc... You would get a quantity input as a dropdown with the quantities 500, 750, 1000, etc available in it. That way, you would get a unified stock control for all the choices, but you'll loose a bit on display since you can choose what will be displayed in the dropdown for each choice. It will just be the numbers (unless you customize the display of course).") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      9 years 3 days ago |
| [](/forum/4-how-to/876568-how-to-change-quantity-and-sell-product-by-kg#200693) | [How to change quantity and sell product by Kg?](/forum/4-how-to/876568-how-to-change-quantity-and-sell-product-by-kg#200693 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3  Hi . My website sell fruit, I want setup sell product follow kg, example: 1kg apple have price $20 ==&gt; if user buy 0.5kg will have price is $10 how to do that ? how to setup quantity dropdown field have: 0,5kg, 1kg, 1.5kg, 2kg, 2.5kg ? Please see my image to understand my idea.  Please help me.")         Category: [How to?](/forum/4-how-to "If you didn't find the answer on our documentation neither on existing posts, please ask your question here.")     Topic started 11 years 6 months ago, by [Ducnb](/forum/user/34054-ducnb "View Ducnb's Profile")       [Last Post](/forum/4-how-to/876568-how-to-change-quantity-and-sell-product-by-kg#282227 "Hi,  There is no system to have a coefficient on the quantity of the variants of products. So that would require custom plugin to calculate that if you decide to keep it like that.  Alternatively, you could have your quantity in grams. So for example, you would have 50000 of stock if you have 50kg of that product in stock. And then, instead of using variants, you could instead add prices with &quot;minimum quantity&quot; for each step you want for the selection and then set the &quot;quantity input method&quot; option of the product to &quot;show select price&quot;. So if you have prices like that for the product: min qty \| price 500 \| x 750 \| x&#42;1.5 1000 \| x&#42;2 ...etc... You would get a quantity input as a dropdown with the quantities 500, 750, 1000, etc available in it. That way, you would get a unified stock control for all the choices, but you'll loose a bit on display since you can choose what will be displayed in the dropdown for each choice. It will just be the numbers (unless you customize the display of course).") 9 years 3 days ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:7  Views:4151 | [Last Post](/forum/4-how-to/876568-how-to-change-quantity-and-sell-product-by-kg#282227 "Hi,  There is no system to have a coefficient on the quantity of the variants of products. So that would require custom plugin to calculate that if you decide to keep it like that.  Alternatively, you could have your quantity in grams. So for example, you would have 50000 of stock if you have 50kg of that product in stock. And then, instead of using variants, you could instead add prices with &quot;minimum quantity&quot; for each step you want for the selection and then set the &quot;quantity input method&quot; option of the product to &quot;show select price&quot;. So if you have prices like that for the product: min qty \| price 500 \| x 750 \| x&#42;1.5 1000 \| x&#42;2 ...etc... You would get a quantity input as a dropdown with the quantities 500, 750, 1000, etc available in it. That way, you would get a unified stock control for all the choices, but you'll loose a bit on display since you can choose what will be displayed in the dropdown for each choice. It will just be the numbers (unless you customize the display of course).") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      9 years 3 days ago |
| [](/forum/4-how-to/876568-how-to-change-quantity-and-sell-product-by-kg#199643) | [How to change quantity and sell product by Kg?](/forum/4-how-to/876568-how-to-change-quantity-and-sell-product-by-kg#199643 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3  Hi . My website sell fruit, I want setup sell product follow kg, example: 1kg apple have price $20 ==&gt; if user buy 0.5kg will have price is $10 how to do that ? how to setup quantity dropdown field have: 0,5kg, 1kg, 1.5kg, 2kg, 2.5kg ? Please see my image to understand my idea.  Please help me.")         Category: [How to?](/forum/4-how-to "If you didn't find the answer on our documentation neither on existing posts, please ask your question here.")     Topic started 11 years 6 months ago, by [Ducnb](/forum/user/34054-ducnb "View Ducnb's Profile")       [Last Post](/forum/4-how-to/876568-how-to-change-quantity-and-sell-product-by-kg#282227 "Hi,  There is no system to have a coefficient on the quantity of the variants of products. So that would require custom plugin to calculate that if you decide to keep it like that.  Alternatively, you could have your quantity in grams. So for example, you would have 50000 of stock if you have 50kg of that product in stock. And then, instead of using variants, you could instead add prices with &quot;minimum quantity&quot; for each step you want for the selection and then set the &quot;quantity input method&quot; option of the product to &quot;show select price&quot;. So if you have prices like that for the product: min qty \| price 500 \| x 750 \| x&#42;1.5 1000 \| x&#42;2 ...etc... You would get a quantity input as a dropdown with the quantities 500, 750, 1000, etc available in it. That way, you would get a unified stock control for all the choices, but you'll loose a bit on display since you can choose what will be displayed in the dropdown for each choice. It will just be the numbers (unless you customize the display of course).") 9 years 3 days ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:7  Views:4151 | [Last Post](/forum/4-how-to/876568-how-to-change-quantity-and-sell-product-by-kg#282227 "Hi,  There is no system to have a coefficient on the quantity of the variants of products. So that would require custom plugin to calculate that if you decide to keep it like that.  Alternatively, you could have your quantity in grams. So for example, you would have 50000 of stock if you have 50kg of that product in stock. And then, instead of using variants, you could instead add prices with &quot;minimum quantity&quot; for each step you want for the selection and then set the &quot;quantity input method&quot; option of the product to &quot;show select price&quot;. So if you have prices like that for the product: min qty \| price 500 \| x 750 \| x&#42;1.5 1000 \| x&#42;2 ...etc... You would get a quantity input as a dropdown with the quantities 500, 750, 1000, etc available in it. That way, you would get a unified stock control for all the choices, but you'll loose a bit on display since you can choose what will be displayed in the dropdown for each choice. It will just be the numbers (unless you customize the display of course).") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      9 years 3 days ago |
| [](/forum/41-wishlist/874930-convert-cart-to-wishlist#190413) | [Convert cart to wishlist](/forum/41-wishlist/874930-convert-cart-to-wishlist#190413 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : LinuxMint 17.1 FireFox 35.0.1  I want have function will convert alll products in cart to wishlist. Current, I only can convert wishlist to cart.  when order, I see have the button call &quot;Convert cart in wishlist&quot;, but when I click on it, it show blank page, dont have any products in this page.  I try fix this error and I see this code (components/com&#95;hikashop/controllers/cart.php):  When I change  to  it's work, it will convert all product in cart to wishlist. and set empty cart. but will have problem when I upgrade. Please let me know other solution, add all products in cart to wishlist but not empty cart.  Thanks.")         Category: [Wishlist](/forum/41-wishlist "Everything relative to the Hikashop wishlist feature")     Topic started 11 years 9 months ago, by [Ducnb](/forum/user/34054-ducnb "View Ducnb's Profile")       [Last Post](/forum/41-wishlist/874930-convert-cart-to-wishlist#198505 "Hi,  Yes indeed, I forgot to ask you that. If you have any cache, please disable it (Joomla settings, Joomla plugin, template cache...)") 11 years 6 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:9  Views:1707 | [Last Post](/forum/41-wishlist/874930-convert-cart-to-wishlist#198505 "Hi,  Yes indeed, I forgot to ask you that. If you have any cache, please disable it (Joomla settings, Joomla plugin, template cache...)") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      11 years 6 months ago |
| [](/forum/3-bug-report/17905-fatal-error-cannot-access-empty-property#170678) | [Fatal error: Cannot access empty property](/forum/3-bug-report/17905-fatal-error-cannot-access-empty-property#170678 "Fatal error: Cannot access empty property in /home/.../administrator/components/com&#95;hikashop/classes/field.php on line 127  125 } 126 if(empty($data-&gt;$id) &amp;&amp; empty($data-&gt;$namekey)){ 127 $data-&gt;$namekey = $field-&gt;field&#95;default; 128 }  What do you think it might be?  all i am trying to is create a link to the registration page.")        Category: [Bug Report](/forum/3-bug-report "Please report any bugs or errors here.")     Topic started 15 years 5 months ago, by [Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")       [Last Post](/forum/3-bug-report/17905-fatal-error-cannot-access-empty-property#170678 "Thank you. It's work with me") 12 years 2 months ago     by [Ducnb](/forum/user/34054-ducnb "View Ducnb's Profile") | Replies:9  Views:3218 | [Last Post](/forum/3-bug-report/17905-fatal-error-cannot-access-empty-property#170678 "Thank you. It's work with me") by [Ducnb](/forum/user/34054-ducnb "View Ducnb's Profile")      12 years 2 months ago |
| [](/forum/3-bug-report/17905-fatal-error-cannot-access-empty-property#170225) | [Fatal error: Cannot access empty property](/forum/3-bug-report/17905-fatal-error-cannot-access-empty-property#170225 "Fatal error: Cannot access empty property in /home/.../administrator/components/com&#95;hikashop/classes/field.php on line 127  125 } 126 if(empty($data-&gt;$id) &amp;&amp; empty($data-&gt;$namekey)){ 127 $data-&gt;$namekey = $field-&gt;field&#95;default; 128 }  What do you think it might be?  all i am trying to is create a link to the registration page.")        Category: [Bug Report](/forum/3-bug-report "Please report any bugs or errors here.")     Topic started 15 years 5 months ago, by [Rickhavoc](/forum/user/2766-rickhavoc "View Rickhavoc's Profile")       [Last Post](/forum/3-bug-report/17905-fatal-error-cannot-access-empty-property#170678 "Thank you. It's work with me") 12 years 2 months ago     by [Ducnb](/forum/user/34054-ducnb "View Ducnb's Profile") | Replies:9  Views:3218 | [Last Post](/forum/3-bug-report/17905-fatal-error-cannot-access-empty-property#170678 "Thank you. It's work with me") by [Ducnb](/forum/user/34054-ducnb "View Ducnb's Profile")      12 years 2 months ago |

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

Time to create page: 0.056 seconds

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