Adding +/- buttons & dynamic pricing

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #105073
    edmunds
    Guest

    good day

    ORDER NUMBER:
    95245
    DATE:
    November 2, 2022

    2 issues

    1. how do i add plus/minus buttons to quantity input?
    2. i want to price product per 100 g , and sell in 100 gram increment. but if i set price 3.00 eur (per 100 g) then the totals are calculated wrong.

      lets say i set 200 g then price is 200 x 3 = 600 eur, but in reality it is 6 Eur.

      i cannot show price per gram.  is there some workarround?

    • This topic was modified 1 year, 4 months ago by WPWhale.
    #105074
    WPWhale
    Moderator

    Hi Edmunds,

    1. Plus/minus are usually there by default, and can be customized by most themes and/or some CSS, the plugin doesn’t control that (it can replace them with dropdown to be precise, but that’s not the point here)
    2. I suggest you set the price per KG, and then sell using decimals (0.1, 0.2 kg), this is doable in the plugin, just enable Decimal in General tab, and then use the desired minimum & step quantities in the respective tabs/products pages.
      The wrong price appears here because when you set 3 eur with using gram as base unit, it treats 200 grams as 200 of that unit, resulting in that wrong price.

    Please let us know if you more help is needed.

    Omar

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.