Author Topic: Rounding prices up to 99c  (Read 474 times)

Otakumart

  • Beginner
  • *
  • Posts: 23
  • A beginner
Rounding prices up to 99c
« on: July 23, 2018, 09:26:55 am »
VirtueMart 3.2.14

Is there a way to round prices to end in 99c? For example if my cost price is $3.61 and my markup is 15% my final price would display as $4.15. I would like this price to be rounded to $4.99 instead.

Thank you.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3466
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Rounding prices up to 99c
« Reply #1 on: July 23, 2018, 10:26:25 am »
you can set price with tax 4.99 and use the checkbox so Virtuemart calculate the baseprice for you.

Otakumart

  • Beginner
  • *
  • Posts: 23
  • A beginner
Re: Rounding prices up to 99c
« Reply #2 on: July 23, 2018, 11:31:23 am »
you can set price with tax 4.99 and use the checkbox so Virtuemart calculate the baseprice for you.

Thanks for the reply.

This is similar to what I have been doing so far and works however I am looking for a way to do this using rules. Using this method also means you can't set a cost price which I use for certain shopper groups. Is there a way to keep the cost price I've entered as well as use this method?

Otakumart

  • Beginner
  • *
  • Posts: 23
  • A beginner
Re: Rounding prices up to 99c
« Reply #3 on: July 23, 2018, 11:42:45 am »
After a bit of looking around in regards to the method mentioned above I think there may be some kind of issue with my pricing. Whenever I set the cost price, final price and hit save, the final price is changed to the cost price.

It seems there are other threads on this issue so I will have a play around and see what I can come up with.

Link to another thread talking about this; https://forum.virtuemart.net/index.php?topic=133365.0


Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1757
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: Rounding prices up to 99c
« Reply #4 on: July 23, 2018, 11:49:45 am »
If You don´t tick the box calculate cost price, fimal price is cost price adjusted by calculation rules and taxes.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)