Well, the way we wound up tackling it was that we added a Regular Price text field to the product, and then modified the unit price for the sale price and then just showed both fields with different styles. At the time, that was the easiest -- i must stress I didn't write that piece of code, and from what I'm reading in your attempts, there _has_ to be a better way, but my client was happy with that so they went with it.
Either way, its working, just a bit more manual... I probably wouldn't have replied had I known they tackled it that way... That being said, I'm sure you could write a template tag (if one doesn't already exist) that could examine said product, look for the existence of this sale price you created, and return both the regular price and sale price... On Thu, Jan 7, 2010 at 3:15 PM, lzantal <[email protected]> wrote: > Hi Ryan, > > On Jan 7, 11:17 am, Ryan Headley <[email protected]> wrote: >> Izantal, >> >> Do you mean something like >> this?http://www.livestrongfitness.com/product/ls9-9ic/ >> >> If so, let me know and I can show you how we do it. >> > > YES! That's exactly what I am looking for. > I would love to learn how to do it. > Please share your knowledge:) > > I am looking forward to it > > Thank you > > lzantal > http://twitter.com/lzantal > >> Ryan >> >> >> >> On Thu, Jan 7, 2010 at 1:11 PM, lzantal <[email protected]> wrote: >> > Hi All, >> >> > Any idea on this?? >> >> > lzantal >> >> > On Nov 28 2009, 1:27 pm, lzantal <[email protected]> wrote: >> >> Hi, >> >> I have a product with full price set to 1.49, then I added an other >> >> price to it with expiration set to next month with price of 0.99. >> >> How can I display both of the price in the template? >> >> I find this in product.html :: >> >> {% if sale %}<strike id="fullprice" style="display: block;">{{ product| >> >> discount_price:""|currency }}</strike>{% endif %} >> >> >> But the full price does not show up. It does not seam to recognize >> >> that it is on sale. >> >> I am feeling that I did not setup something properly because when I >> >> call product.unit_price in the template it also returns the discount >> >> price. >> >> >> Thank you for all the help >> >> >> lzantal >> >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "Satchmo users" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group >> > athttp://groups.google.com/group/satchmo-users?hl=en. >> >> --http://www.sudovi.com/http://www.twitter.com/lifewithryanhttp://www.thecommontongue.comhttp://www.lifewithryan.com/ > > -- > You received this message because you are subscribed to the Google Groups > "Satchmo users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/satchmo-users?hl=en. > > > > -- http://www.sudovi.com/ http://www.twitter.com/lifewithryan http://www.thecommontongue.com http://www.lifewithryan.com/
-- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
