Jump to content
wildvettes

"Remove from cart" with "attributes" {} server error work around needed

Recommended Posts

OK so before I have to go trying to migrate hosts does anyone have a work around for the remove from cart button not working for a Host that doesn't support {} when a product has attributes? My host has been zero help. It could be anything including dumping the entire cart. I just want the customer to be able to actually clear the cart when they make an error rather than just getting frustrated and leaving. 

I have tried all the urlencode options and I have done a fresh install of EDGE and the issue is present in all of them still.

Share this post


Link to post
Share on other sites

I would just move hosts, or wait to see if the new version of osCommerce (due out soon) addresses the problem.


Let's make things easier for new osCommerce users http://forums.oscommerce.com/topic/402638-discussion-about-hard-coded-database-tables/?p=1718900  Getting there with osCommerce 2.4! :thumbsup:

Share this post


Link to post
Share on other sites

URL encode the href link.  This works for *numerous* shops.

URL can contain *any* character..if encoded appropriately.


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

Seeing "%nn" codes in a URI is ugly, and turns off customers. It would be better to fix osC once and for all by changing { } to characters which are not special to servers or PHP (i.e., not reserved or forbidden). If they don't have to be different (i.e., are not nested), something like a period . could be used. If attributes can be nested, that might not work (or use .A and A. multicharacter start and end codes). An alternative might be to get rid of URL Query Strings entirely, and build /attr/xxxxx pairs into the path (SEF style). That would be the cleanest-looking, from the customer viewpoint. If attribute codes are strictly internal to osC (would not be bookmarked by a customer or search engine), that data might even be passed through POST (form). Just some thoughts...

Share this post


Link to post
Share on other sites

I vote to "."


:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Share this post


Link to post
Share on other sites

Can attributes be nested now? I'm wondering if that's why distinct open and close markers { and } were chosen in the first place, or if it was done to keep that option open for the future. Unless nesting makes absolutely no sense, I would try to keep separate open and close, such as .A and A. . Other letters could be used for other classes of objects, if that might be helpful.

Share this post


Link to post
Share on other sites

Attributes are ridiculous for me. I have never understand why should use something when no EAN or stock connections. Its perfect only for individual productions or undesirable sellers but unusefull for standard traders.
Its time to do something different again with products connections and extra fields.

Oscommerce V3 alfa was a great product when still lived.. Opencart and a lot of clones Grown-up from v3 alfa and we stayed here and we are chewing the {bones}.

The problem is when the product has attributes and described in products_id. Its not wanted. Why is not figured out with exact declarations?

Quote

?products_id=10000000000&a1=2&a3=5

I dont understand this. Is it taboo?


:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×