- Posts: 54
- Thank you received: 0
Enter decimal values for quantity?
- geocentricdesign
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.
You cannot enter a decimal value for a quantity. It's not something supported and not something easy to add for us as external services like paypal or the australia post do not support decimal quantity.
The easiest would be to put your product price for a cut and in the description the price in lb for reference. That way your customers could buy 1 cut, 2 cuts etc.
Please Log in or Create an account to join the conversation.
This has been possible since more than a year now.
Here is a post explaining how to do:
www.hikashop.com/forum/4-how-to/85015-ne...hikashop.html#113119
Please Log in or Create an account to join the conversation.
Our site is www,donmarin.com
I read in FAQ
How to sell products by Width and Length ?
1. You'll have to install and publish the plugin named "HikaShopCustom Quantity plugin"
2. Create 2 custom fields from the "Item" table named "width" and "length" through "Hikashop->Display->Custom Fields->'New'" , and publish them for the front-end.
And a have two question
in which of the categories to add fields length and width?
address, user, category, product, order ....?
2. instal and publish HikaShopCustom Quantity plugin, and then wath ?
Sorry, I forgot we use Buisines version of HikaShop
Please Log in or Create an account to join the conversation.
Yes that's indeed the good solution for your needs. You have to create the custom fields in the table "item".
Then publish the plugin, and edit the settings to specify your custom field names, etc.
And the price will change depending on the dimensions.
Please Log in or Create an account to join the conversation.
We want the costumer to be able to enter in the quantity field values such as, 1.5, 2.5, ....... as this affects the price. Because everyone wants different size from square surface.
Please Log in or Create an account to join the conversation.
Changing the way the quantity field is not a good solution, it will require a lot of modifications in the code, and in core files.
Using the plugin allow to enter the desired size, and will update the price depending on the surface set.
You just have to set the default price for 1kg/m. So id a customer wan 1.5, the default price will be increased by 1.5. ($XX * 1.5)
I you want only one field and not two (one for width and one for length) so you will have to edit the plugin.
I don't see the problem with this solution, I am maybe missing something
Please Log in or Create an account to join the conversation.
How to do this?
"Changing the way the quantity field is not a good solution, it will require a lot of modifications in the code, and in core files"
We think this is the only solution if you tell us where and what to replace, and with what we will do
Please Log in or Create an account to join the conversation.
For the plugin "hikashop custom quantity", you have to publish it, then create a custom field in the table "item", with the Column name "ordered_length" and type "text", enable it for frontend.
Then the customer can set the quantity, for example 1.5, and the price when adding to cart will be multiplied by the desired quantity.
Please Log in or Create an account to join the conversation.
For example: donmarin.com/katalog/podovi-plochki/gran...0-h-20-sm-1kach.html . For this product in the newly field "length" value entered is 20
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
The problem is probably coming from the fact that you're not using the "ordered_length" field through your product front-end page, did you published that field for the front-end ?
Please Log in or Create an account to join the conversation.
donmarin.com/katalog/podovi-plochki/gran...-za-pod.html?popup=1
Please Log in or Create an account to join the conversation.
You created it in the "product" tablecreate a custom field in the table "item"
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Thanks to provide us a backend access via private message with a link to that topic in order to see directly the problem on your end.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The settings seems to be correct, plugin published, custom field in "item" table, and with the correct column_name..
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.