steps to build a food selling based on weight site

  • Posts: 12953
  • Thank you received: 1778
8 years 2 months ago #266412

Hello,

A solution can be to replace the "Each" text to "Per Kg" by editing your translation file via "Hikashop->System->Configuration->Languages" and change that line :
PER_UNIT=" each"

Please Log in or Create an account to join the conversation.

  • Posts: 83986
  • Thank you received: 13603
  • MODERATOR
8 years 2 months ago #266558

Hi,

What you want to do is to create a custom field of the table "item" so that the the customer can enter the weight he wants to purchase.
Then, you want a small plugin to override the price so that it multiplies the price of the product by the value entered by the customer in that custom field.
You can see an example of that with the donation plugin:
demo.hikashop.com/index.php/en/hikashop/...t-page/donation-page
od with the width*length price override plugin available in the "How to sell products by Width and Length ?" section of our FAQ:
www.hikashop.com/support/documentation/106-faq.html#cart

Please Log in or Create an account to join the conversation.

  • Posts: 83986
  • Thank you received: 13603
  • MODERATOR
8 years 1 month ago #267610

Hi,

Changing the quantity field to be able to handle fractions of quantity is not possible.
Instead you should:
- change the "quantity input method" setting of your product to not display the quantity field of HikaShop (so that it is always 1).
- create a custom field of the table "item" via the menu Display>Custom fields so that your customers can enter the fractional quantity they want on the product page.
- modify the "Width and Length" price override plugin to handle your custom field.
- install that plugin and activate it.
This requires HikaShop Business.

I don't know of any video on youtube which covers that.

Please Log in or Create an account to join the conversation.

  • Posts: 83986
  • Thank you received: 13603
  • MODERATOR
8 years 2 weeks ago #270460

Hi,

Yes, as I said in my previous message, that's possible with the Business edition and the modification of the "Width and Length" price override plugin to calculate the price based on what the customer entered in the field.

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum