ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Changing Price Break Displays
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Changing Price Break Displays

 Post Reply Post Reply
Author
Message
mattprice View Drop Down
Senior Member
Senior Member


Joined: 03-June-2007
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote mattprice Quote  Post ReplyReply Direct Link To This Post Topic: Changing Price Break Displays
    Posted: 19-March-2008 at 5:18am

Has anyone tried changing the output that productcart generates to display price breaks.  At the moment productcart shows the £ or $ discount that is applied to the base price rather than the net discount itself.

If I had a tier of price discounts for a product I would like a customer to be able to see the actual price they would pay for each discount quantity rather than the discount off the base price.

I.e Optpricebreaks.asp displays "Discount per price break" when I wish it to display "Base Price less Discount per price break".  Does anyone have any ideas ?

Matt

Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 19-March-2008 at 8:41am

Matt, a client hired us to perform that mod.  I looked around and find that I didn't retain a  local copy, but I do remember generally how I did it. 

Is this what you have in mind?
http://www.golfpizazz.com/productcart/pc/viewPrd.asp?idcateg ory=&idproduct=231

If I remember correctly, it's just a matter of intercepting the value and doing the math before you display the value.  You have to grab the price from the product table because I don't think it was immediately available, but once you have it - you add the price to the discount and display the result.

Back to Top
mattprice View Drop Down
Senior Member
Senior Member


Joined: 03-June-2007
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote mattprice Quote  Post ReplyReply Direct Link To This Post Posted: 01-April-2008 at 12:47pm

Hi Greg,

Yes you hit the nail on the head here and the mod for your client was exactly what I was looking for initially.

However, I then decided that I wanted to display some other info in the pricebreaks display which was different for each product so I disabled the existing price breaks display box and used the same javascript call in the product description to different modified pricebreak files.  This was only viable because I only have a handful of products with pricebreaks applied.

Thanks again.  Not for this post, but for the replies you have made to posts from other users.  You have indirectly helped me on numerous occasions.

Best Regards

Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 01-April-2008 at 2:08pm

I appreciate the kind words Matt.  We build a fair number of PC-powered stores and it is mutually beneficial to actively participate in this forum.

Here's a recent example of our work:
http://www.buygolfshirts.net/store/pc/home.asp

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.