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

#   When products are ordered by length....

##

- **[nina2011](/forum/user/762-nina2011 "View nina2011's Profile")**
- [![nina2011's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar762.gif)](/forum/user/762-nina2011 "View nina2011's Profile") Topic Author
- [ Offline](/forum/user/762-nina2011)

Less More

- Posts: 13
- Thank you received: 0
-
-

15 years 7 months ago [\#11615](#11615) by [nina2011](/forum/user/762-nina2011 "View nina2011's Profile")  *[When products are ordered by length....](/forum/4-how-to/11615-when-products-are-ordered-by-length#11615 "I have some products ordered by length, i.e. 1m or 0,2m or 2,65m meaning any length by customers choice. Is this possible in hikashop or can it only be full units? Also is it possible to have orders for instance 4 items of 0,2m?  Thanks")* was created by *[nina2011](/forum/user/762-nina2011 "View nina2011's Profile")*

I have some products ordered by length, i.e. 1m or 0,2m or 2,65m meaning any length by customers choice.
Is this possible in hikashop or can it only be full units?
Also is it possible to have orders for instance 4 items of 0,2m?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExNjE1LXdoZW4tcHJvZHVjdHMtYXJlLW9yZGVyZWQtYnktbGVuZ3RoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

15 years 7 months ago [\#11623](#11623) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: When products are ordered by length....](/forum/4-how-to/11615-when-products-are-ordered-by-length#11623 "I have some products ordered by length, i.e. 1m or 0,2m or 2,65m meaning any length by customers choice. Is this possible in hikashop or can it only be full units? Also is it possible to have orders for instance 4 items of 0,2m?  Thanks")*

You can use characteristics to ask a user to choose the length he wants. Basically, you will have to create one characteristic via the menu Products-&gt;Characteristics and set there all the possible values. Then, you can add that characteristic to the products where the user can choose the length and the dropdown will be displayed on the product page. You can also set different prices via the button "manage variants" on the product edition page.
If you really want to let the user write the length himself, you can use custom item fields (business edition). However, custom item fields are displayed for all your products by default. If you want to display them for only some products, you will have to tweak a bit the views like explained there: [ www.hikashop.com/support/forum/4-how-to/...t.html?lang=en#11371](http://www.hikashop.com/support/forum/4-how-to/11369-characteristics-limit.html?lang=en#11371)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExNjE1LXdoZW4tcHJvZHVjdHMtYXJlLW9yZGVyZWQtYnktbGVuZ3RoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nina2011](/forum/user/762-nina2011 "View nina2011's Profile")**
- [![nina2011's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar762.gif)](/forum/user/762-nina2011 "View nina2011's Profile") Topic Author
- [ Offline](/forum/user/762-nina2011)

Less More

- Posts: 13
- Thank you received: 0
-
-

15 years 7 months ago [\#11624](#11624) by [nina2011](/forum/user/762-nina2011 "View nina2011's Profile")  Replied by *[nina2011](/forum/user/762-nina2011 "View nina2011's Profile")* on topic *[Re: When products are ordered by length....](/forum/4-how-to/11615-when-products-are-ordered-by-length#11624 "I have some products ordered by length, i.e. 1m or 0,2m or 2,65m meaning any length by customers choice. Is this possible in hikashop or can it only be full units? Also is it possible to have orders for instance 4 items of 0,2m?  Thanks")*

so if I use the custom items field in the business version, will it affect the price? the price will need to be calculated on the proprotion of the unit. if the price is 4.00 per unit and they order 0,25 it needs to calculate the price to 1.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExNjE1LXdoZW4tcHJvZHVjdHMtYXJlLW9yZGVyZWQtYnktbGVuZ3RoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

15 years 7 months ago [\#11626](#11626) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: When products are ordered by length....](/forum/4-how-to/11615-when-products-are-ordered-by-length#11626 "I have some products ordered by length, i.e. 1m or 0,2m or 2,65m meaning any length by customers choice. Is this possible in hikashop or can it only be full units? Also is it possible to have orders for instance 4 items of 0,2m?  Thanks")*

No, the price is not affected by the value entered by the user. That is only possible with characteristics where you pre enter all the possible values and their corresponding prices.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExNjE1LXdoZW4tcHJvZHVjdHMtYXJlLW9yZGVyZWQtYnktbGVuZ3RoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nina2011](/forum/user/762-nina2011 "View nina2011's Profile")**
- [![nina2011's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar762.gif)](/forum/user/762-nina2011 "View nina2011's Profile") Topic Author
- [ Offline](/forum/user/762-nina2011)

Less More

- Posts: 13
- Thank you received: 0
-
-

15 years 7 months ago [\#11628](#11628) by [nina2011](/forum/user/762-nina2011 "View nina2011's Profile")  Replied by *[nina2011](/forum/user/762-nina2011 "View nina2011's Profile")* on topic *[Re: When products are ordered by length....](/forum/4-how-to/11615-when-products-are-ordered-by-length#11628 "I have some products ordered by length, i.e. 1m or 0,2m or 2,65m meaning any length by customers choice. Is this possible in hikashop or can it only be full units? Also is it possible to have orders for instance 4 items of 0,2m?  Thanks")*

is it possible to change the formula for the price somewhere in the code to include this? everything else with hikashop fits us really well but we need to have this otherwise we cannot use the shop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExNjE1LXdoZW4tcHJvZHVjdHMtYXJlLW9yZGVyZWQtYnktbGVuZ3RoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nina2011](/forum/user/762-nina2011 "View nina2011's Profile")**
- [![nina2011's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar762.gif)](/forum/user/762-nina2011 "View nina2011's Profile") Topic Author
- [ Offline](/forum/user/762-nina2011)

Less More

- Posts: 13
- Thank you received: 0
-
-

15 years 7 months ago [\#11629](#11629) by [nina2011](/forum/user/762-nina2011 "View nina2011's Profile")  Replied by *[nina2011](/forum/user/762-nina2011 "View nina2011's Profile")* on topic *[Re: When products are ordered by length....](/forum/4-how-to/11615-when-products-are-ordered-by-length#11629 "I have some products ordered by length, i.e. 1m or 0,2m or 2,65m meaning any length by customers choice. Is this possible in hikashop or can it only be full units? Also is it possible to have orders for instance 4 items of 0,2m?  Thanks")*

logically it shouldnt be difficult to have the price in the cart set to "quantity*price*custom field=total price" instead of just "quantity*price=total price" but I am not so good with coding so I don't know where such a formula would appear

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExNjE1LXdoZW4tcHJvZHVjdHMtYXJlLW9yZGVyZWQtYnktbGVuZ3RoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

15 years 7 months ago [\#11630](#11630) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: When products are ordered by length....](/forum/4-how-to/11615-when-products-are-ordered-by-length#11630 "I have some products ordered by length, i.e. 1m or 0,2m or 2,65m meaning any length by customers choice. Is this possible in hikashop or can it only be full units? Also is it possible to have orders for instance 4 items of 0,2m?  Thanks")*

Well, it's not as easy as you make it sound.
For example, in our paypal integration, we give to paypal the unit price of products and their quantity and paypal calculates the total on its end. And there is no way to tell paypal to calculate it differently. So that would mean that you would have to change the paypal plugin code to give the full price without the order details if you want to use paypal. Then, you have that modification when loading the cart but also for the cart and order display.

The main code responsible for the calculus of the qauntity price, is in the files currency.php (funciton quantityPrices) and order.php (function loadFullOrder ) of the folder administrator/components/com_hikashop/classes/

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExNjE1LXdoZW4tcHJvZHVjdHMtYXJlLW9yZGVyZWQtYnktbGVuZ3RoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nina2011](/forum/user/762-nina2011 "View nina2011's Profile")**
- [![nina2011's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar762.gif)](/forum/user/762-nina2011 "View nina2011's Profile") Topic Author
- [ Offline](/forum/user/762-nina2011)

Less More

- Posts: 13
- Thank you received: 0
-
-

15 years 7 months ago [\#11633](#11633) by [nina2011](/forum/user/762-nina2011 "View nina2011's Profile")  Replied by *[nina2011](/forum/user/762-nina2011 "View nina2011's Profile")* on topic *[Re: When products are ordered by length....](/forum/4-how-to/11615-when-products-are-ordered-by-length#11633 "I have some products ordered by length, i.e. 1m or 0,2m or 2,65m meaning any length by customers choice. Is this possible in hikashop or can it only be full units? Also is it possible to have orders for instance 4 items of 0,2m?  Thanks")*

we only sell wholesale and never use online payment systems, we only send an invoice from the order they make online.. so it is no issue with any plugins. I will have a look at the code to see if I can figure it out. problem is i cannot test how it works before i purchase the business version so i cannot be sure it will do what we need it to do. thanks for now

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExNjE1LXdoZW4tcHJvZHVjdHMtYXJlLW9yZGVyZWQtYnktbGVuZ3RoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

15 years 7 months ago [\#11635](#11635) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: When products are ordered by length....](/forum/4-how-to/11615-when-products-are-ordered-by-length#11635 "I have some products ordered by length, i.e. 1m or 0,2m or 2,65m meaning any length by customers choice. Is this possible in hikashop or can it only be full units? Also is it possible to have orders for instance 4 items of 0,2m?  Thanks")*

Please contact us via our contact form we will see what we can do ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExNjE1LXdoZW4tcHJvZHVjdHMtYXJlLW9yZGVyZWQtYnktbGVuZ3RoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nina2011](/forum/user/762-nina2011 "View nina2011's Profile")**
- [![nina2011's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar762.gif)](/forum/user/762-nina2011 "View nina2011's Profile") Topic Author
- [ Offline](/forum/user/762-nina2011)

Less More

- Posts: 13
- Thank you received: 0
-
-

15 years 7 months ago [\#12526](#12526) by [nina2011](/forum/user/762-nina2011 "View nina2011's Profile")  Replied by *[nina2011](/forum/user/762-nina2011 "View nina2011's Profile")* on topic *[Re: When products are ordered by length....](/forum/4-how-to/11615-when-products-are-ordered-by-length#12526 "I have some products ordered by length, i.e. 1m or 0,2m or 2,65m meaning any length by customers choice. Is this possible in hikashop or can it only be full units? Also is it possible to have orders for instance 4 items of 0,2m?  Thanks")*

Hi, I have emailed you on the contact form regarding this. Did you get my email?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExNjE1LXdoZW4tcHJvZHVjdHMtYXJlLW9yZGVyZWQtYnktbGVuZ3RoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

15 years 7 months ago [\#12529](#12529) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: When products are ordered by length....](/forum/4-how-to/11615-when-products-are-ordered-by-length#12529 "I have some products ordered by length, i.e. 1m or 0,2m or 2,65m meaning any length by customers choice. Is this possible in hikashop or can it only be full units? Also is it possible to have orders for instance 4 items of 0,2m?  Thanks")*

Yes. We also replied to you:
from Hikari Team &lt;XXX&gt;
sender-time Sent at 12:21 AM (GMT+01:00). Current time there: 10:13 AM. ✆
to Nina Berglund &lt;XXX&gt;
date Fri, Mar 25, 2011 at 12:21 AM
subject Re: HikaShop: Regarding: When products are ordered by length....

You didn't receive our reply ? Maybe in your spam box ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExNjE1LXdoZW4tcHJvZHVjdHMtYXJlLW9yZGVyZWQtYnktbGVuZ3RoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.137 seconds

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

[](#top)
