Adding items to the basket via direct URL with productID.

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
joshuastarr
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Mon Feb 23, 2009 3:24 pm

Adding items to the basket via direct URL with productID.

Post by joshuastarr » Mon Feb 23, 2009 3:42 pm

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!

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

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

Post by sohaib » Tue Feb 24, 2009 10:23 am

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?

joshuastarr
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Mon Feb 23, 2009 3:24 pm

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

Post by joshuastarr » Tue Feb 24, 2009 1:04 pm

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


Post Reply