7.01 to 7.06 commercebuilder basket.recalc & custom prices

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
wprevett
Ensign (ENS)
Ensign (ENS)
Posts: 9
Joined: Tue Jun 14, 2011 1:59 pm

7.01 to 7.06 commercebuilder basket.recalc & custom prices

Post by wprevett » Tue Sep 20, 2011 4:50 pm

Hello!

I'm having some difficulty with some custom functionality we had made for our Ablecommerce implementation.

We have a back-end order entry application, with which we can enter custom prices. There are a few product SKUS without a price for this particular case.

With the new Commercebuilder version, once Basket.Recalculate() is called, these custom prices are no longer retained because the default price appears to be re-assigned.

Is it possible to recalculate the basket with a modified Unit Price in 7.06?

Any help would be greatly appreciated.

Thanks

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

Re: 7.01 to 7.06 commercebuilder basket.recalc & custom prices

Post by jmestep » Wed Sep 21, 2011 7:04 am

You can set the product to use a variable price with a minimum price of the lowest you want to sell it for and customize the pages so that the variable price doesn't display as editable.
Whenever we deal with something like this where you have to override what is going on in the basket as far as prices, coupons, discounts we create our own basket class and override the Able one with our own calculations.
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

sfeher
Captain (CAPT)
Captain (CAPT)
Posts: 220
Joined: Fri Jun 04, 2004 1:58 pm
Location: Steubenville, Ohio

Re: 7.01 to 7.06 commercebuilder basket.recalc & custom prices

Post by sfeher » Wed Dec 28, 2011 5:04 pm

Hi Judy --
I'm attempting to do something very close to this.

- I have our product updated to use the variable price so that custom pricing can be assigned by sales reps using the Admin section of the site.
- I've updated the BuyProductDialog page so that the variable price display is NOT editable.

However, on product with options (with price variations) the ajax function to update the price does not work on the variable price display. How did you code this so that if the option is selected, the ajax panel will enforce a price change to the variable price. Have you been able to accomplish this?

Thanks!

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

Re: 7.01 to 7.06 commercebuilder basket.recalc & custom prices

Post by jmestep » Tue Jan 03, 2012 9:20 am

I'm sorry, I don't have time to look at this and I never tried it with options. Plus I'm allergic to Ajax from trying to customize the one page checkout. But you might find something in the producthelper.cs that builds the options.
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