Recalculating pricing during checkout

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Recalculating pricing during checkout

Post by jmestep » Mon Nov 23, 2009 4:20 pm

I am doing some coding for a client who wants product special prices applied based on the shipping state for the order. I've got that all working fine based on a special group. What would trigger the basket to re-calculate at checkout? I've taken myself in and out of groups and if I have the product in my basket and I should not be getting the discount after I've removed myself from the group, the price doesn't change to the non-special price, even if I click to recalculate basket on the basket page. Is there a guaranteed routine to make the prices be recalcuated?
This is Able 7.0.0.

Thanks.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Re: Recalculating pricing during checkout

Post by Shopping Cart Admin » Wed Dec 02, 2009 1:23 pm

Hello Judy,

The attributes of a product when added to the basket, typically won't change even if the product changes. Same with a completed order. Both should be a snapshot in time. As far as a way to accomplish this we'd want to get more information on flow to pinpoint the areas that require the recalc.

Off hand:

1. when an user logs in and the state is identified.
2. shipping address change
one page checkout
ship to multiple checkout
3. ?
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Recalculating pricing during checkout

Post by jmestep » Wed Dec 02, 2009 2:54 pm

I was able to work around it. In newer versions of Able, the price would recalculate. For example, I put a product in the basket, went to the admin and created a special price and the product price in the basket changed, which is good. It just wasn't happening in 7.0.0, so I called the ProductCalculator on the items in the basket and changed the price to that price, then saved the basket. It is working fine now.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply