LemonStand Forum: Was and Now Price - LemonStand Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Was and Now Price

#1 User is offline   Elliot 

  • LemonRegular
  • PipPipPip
  • Group: Members
  • Posts: 35
  • Joined: 07-December 10
  • LocationEssex

Posted 19 March 2012 - 09:18 AM

Hey,

I developed a website using LemonStand about 12 months ago now and am now looking to improve it.

One of the suggested improvements I am looking to make is to show a "Was" price and a "Now" price e.g. Was £209.99 Now £189.99.

I can't see a decent way of implementing this other than to create an attribute called "Was Price" and retrieve that for each product.

Are there any better ways of implementing this? Is it possible to extend the back end and include a Was Price in the backend where Price is displayed?

Appreciate any help

Elliot
0

#2 User is offline   Aleksey 

  • Co-Founder
  • Group: +Administrators
  • Posts: 4,066
  • Joined: 31-October 09

Posted 20 March 2012 - 04:24 PM

Hi Elliot,

Products now support the On Sale feature, which allows you to enter the new product price. You can access the old price with $product->price field and the new price with $product->price() method.

Documentation: http://lemonstandapp...el_price_rules/ (see the last section), http://lemonstandapp...aging_products/

I hope this helps,
Thank you

Share this topic:


Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users