Page 1 of 1

Adding items to the basket via direct URL with productID.

Posted: Mon Feb 23, 2009 3:42 pm
by joshuastarr
There seems to be some kind of bug with the AbleCommerce basket page. If you go to the main AbleCommerce page and then paste in the direct link, it works fine. This leads me to believe that there is some kind of basket init that happens that doesn't fire when accessing the basket directly like this:

http://somerandomsite.com/basket.aspx?P ... Quantity=1

I also noticed that there was a problem when linking directly to a product's URL, which appears to be a similar problem -- that appeared to be related to the TaxCalculation called from the Minibasket. I was able to fix this in code.

http://somerandomsite.com/Universal-Remote-P42.aspx

Curious if AbleCommerce has any fixes for these (showstopping) issues?

Thanks!

Re: Adding items to the basket via direct URL with productID.

Posted: Tue Feb 24, 2009 10:23 am
by sohaib
There seems to be some kind of bug with the AbleCommerce basket page. If you go to the main AbleCommerce page and then paste in the direct link, it works fine. This leads me to believe that there is some kind of basket init that happens that doesn't fire when accessing the basket directly like this:

http://somerandomsite.com/basket.aspx?P ... Quantity=1
I am sorry but can you please shed some light on what the problem is that you are facing?
I am unable to figure out from above what issue you are trying to explain.
I also noticed that there was a problem when linking directly to a product's URL, which appears to be a similar problem -- that appeared to be related to the TaxCalculation called from the Minibasket. I was able to fix this in code.

http://somerandomsite.com/Universal-Remote-P42.aspx
Then again I am unable to figure out what 'problem' are you talking about. Do you get some error on the page? Is the page not accessible? or is there something else?

Re: Adding items to the basket via direct URL with productID.

Posted: Tue Feb 24, 2009 1:04 pm
by joshuastarr
Hi sohaib, originally there was an error page displayed when the minibasket tried to recalculate the Tax, when a user went to a product page from a direct link. This was resolved by modifying the back end code for CommerceBuilder.

The current problem we are having is getting an item to add to a basket via direct link, it works sometimes, but more often than not, simply does not add the item to the cart. It seems like we have to go to the MAIN AbleCommerce page on our site to get the temporary basket initialized, then pasting the direct item URL will /sometimes/ add it in properly.

Here's an example, go here:

http://storebeta.tangentpointmedia.com/ ... Quantity=1

Another issue we've noticed is that it will not allow adding of "hidden" items to a basket via a direct link. Not sure why.

Thanks,
Joshua

Re: Adding items to the basket via direct URL with productID.

Posted: Wed Feb 25, 2009 4:39 am
by mazhar