Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with or ..


Trailz

Recommended Posts

Posted

If you add a item to the cart then at the view cart screen

it shows the item say you want to make a change to the order. The surfer clicks back or clicks the link then makes change and adds to cart again. They now have 2 items in the cart. Why?

Posted

Because you're actually adding 2 items.

To add, click the item and you get the shopping cart page. On that page, you can update the quantity, delete or continue shopping. If you use your back button and add to cart again, then you will have 2 items, not one.

Posted

I understand what you are saying but its not right.

 

User picks to buy a shirt and choose the size and color attributes then clicks to cart so they can see the total price, then decides oh wait I meant to pick extra large instead of large so they click the link for the item to modify. After clicking modify link it takes them back to the page and has the correct attributes chosen but it doesn't do a update on the current item in cart it ads a second item. Which causes problems I think for some people when they get 2 items in the cart.

 

This is a problem and should be fixed or changed to work differently.

Posted

I disagree. That's the way it should work IMHO. All they have to do at that point is delete the one they don't want. Rather simple process actually. :wink:

Posted

Under your proposed changes, what would happen if;

 

I want to buy 2 blue shirts, one Large (for myself) and 1 small (for my child).

 

You see?

Posted

Maybe clicking back would work the way it does now since you brought up a valid point about wanting 2 shirts.

 

Please explain why I can't modify a item that is in my cart, why must I add another to the cart then delete the one I don't want. You should be able to edit an item that is in your cart and not have it add a duplicate item or add an extra item.

 

We all know how the cart should/does work. What about people who don't know? Don't say its easy too remove and delete things because it didn't make sense to the 3 people who I spoke with on the phone while they used the cart. Maybe you get smarter people but I think I am missing out on sales when people configure then go back after they see a total to change the item.

Posted

I don't know of a cart where you can change the attributes once an item is in the cart.....It's just like when you go to the grocery store...You have to put items in and take them out to change them.

 

So, to fix your problem with novice users...Add some instructions to your cart page....Tell them to remove an item push this button and to change the quantity to do this, etc.

Posted

If that's the case then why when you click the link on the cart page to go back does it remember what attributes you had selected?

 

It shouldn't remember what attributes you've selected if it doesn't want you to be able to edit them.

 

Maybe I need to make a seperate confirm page inbetween? So the items don't get added to the cart then unless they are sure?

Posted

Trailz brings up a valid point. If you have attributes you should be able to edit them if you made a mistake. Deleting the item, then asking the customer to go and find the item again, may and will turn them away.

 

I have seen carts that have an edit button for your items. You click the edit button and you can edit the attributes, sizes, colors, and/or quanity.

 

If you a savy web user adding the item and then deleting the item is no big deal, but if you are a beginner, it may turn them off and they just click away. I think the goal of a store owner is to make his site easy to navagate and use. Make it too hard, you'll lose customers.

 

I realize that OSC is easy to use for us, but we need to think of the beginner web person.

 

Just my 2 cents,

Steve

-------------------------

Posted

This is certainly do-able, but would take some major re-coding. Start up by going to www.php.net and immersing yourself.

Posted
Trailz brings up a valid point. If you have attributes you should be able to edit them if you made a mistake. Deleting the item, then asking the customer to go and find the item again, may and will turn them away.

 

First, don't tell them to delete first, if they did they would have to start over.

 

Okay, let's look at this I decide on a 1 foot piece of hot pink plastic chain and put it in my cart (1 click), page changes to the cart, I decide I want purple instead of pink, I click the link to the chain that is in the cart, (2nd click) that takes me back to the page with the chain I choose the purple (3rd click) and click add to cart (4th click) and back we go to the cart. I now have 1 pink and 1 purple. I click the pink's remove box (5th click) and then the update (6th click).

 

Put some simple instructions on the cart page...... To remove and item, click remove and then update. To change an item click the item and you will be taken back to the item's page. Add the correct item to the cart and then remove the incorrect one. To change the number of items in the cart highlight the number, put in the new one and click up date. That makes alot more sense than rewriting the whole thing......

Posted

Wouldn't a fix for this be as simple as checking for a variable? Like if change = 1 then update current item in cart and if change = 0 then add to cart?

 

Not seeing why you'd have to rewrite the whole thing just make a simple

if ($change == "1") {

make sure item you are adding is same as in cart and do update

 

else {

 

do what normally the cart does

 

}

 

Am I missing something?

Posted
This is certainly do-able, but would take some major re-coding.  Start up by going to www.php.net and immersing yourself.

 

What makes you think that I'd need to start at php.net? I'm asking for ideas and why this would / wouldn't work. Maybe someone else already dealt with this and found it a real pain in the ass and not worth the trouble to change it? Or maybe people didn't even think think about this before. I am not asking for a smart ass comment about learn to program.

Posted
Wouldn't a fix for this be as simple as checking for a variable?
Well, yes and no......You have to check the particular variable for the particular item. What if the item has multiple attributes? What if the attribute you are changing has an up charge and the new attribute has a different up charge?
Posted

Ok then maybe the best option for me is to make a go between page before acutally adding to the cart.

 

Thanks for your input BirdBrain.

Posted

Again, why make it more complicated? If I was ordering several items and got an "are you sure" page everytime I added something to my cart...I would leave and never come back.

 

I added some simple instructions to my cart this morning......Take a look.

NOTE: the shop is live. http://www.bird-e-toys.com/shop/ Add a couple of items to the cart and take a look.

Posted
I am not asking for a smart ass comment about learn to program.

 

It's pretty plain in your post that you don't have much in the way of PHP skills (btw I'm not saying I do either) or you cannot communicate your PHP skills effectively, so your options are to learn to program PHP to DIY, or pay someone to do it for you.

 

It's not a very difficult thing to do, but is a lot more work than putting in an "if" statement :roll:

Posted

Hi all

I was wondering about this feature and tried to make it working...

Modifications to application_top.php , order_details.php and product_info.php are needed.

Actually it does not really modify the product in cart but replaces it w/ the new one chosen (w/ options and qty).

From the cart you can choose to modify your selection and go back to the products page that remembers options and quantity, then a "modify" button in place of the regular "add to cart" does the rest, deleting the existing and replacing it w/ the new one.

...opinions ?

 

ivan

Posted

How about: If you click on the item in the cart, it automatically deletes the item and returns you to the item page. Then you could just get the item that you want and it will return you to the cart. I think this will be less confusing. I think I am re-wording alverman's suggestion. But I think this would be the best solution.

 

Ok, maybe that won't work. If the customer want two different version of the same item, they will click the link for the item. Poof it is gone.

 

Well then an edit button. Click edit it deletes the item and takes you to the item page, if they click the item link it takes them to the item, not deleting the item.

 

OK, I'm rambling and just throwing ideas out there. Just remember K.I.S.S.

(Keep it simple sugar)!

Steve

-------------------------

Posted

I hope you do not want to K.I.S.S. me Steve :shock: but thanks for your relpy.

I do not delete immediately the item becouz: what if the costumer goes back to the products page and realizes there's no other option he is interested in and decides to keep what he/she has already in the cart?

So the replacement is the last operation and occours only after pressing the "modify" button.

Simpler than that ......... :?

ivan

Posted

I am a bit new to OSC, but what I would like to say may shed some light on this discussion. First of all, purchases are found in two of the tables , customer_basket and customer_basket attributes. The reason to have two entries for same items with different attributes is simple, inventory and maybe which color T-Shirt, for example, is more popular and helps to make restocking decissions. This, to me, is why orders are placed in a seperate table with a link to the corresponding customer_basket_attributes table. I previous post is correct, if you were shopping at a physical store, you would have to return the item back to the shelf and select another item.

 

With that said, it may not take much programming to query the table, make a change to the product's attribute and perform an UPDATE query back to the attributes table. Basic SQL stuff. Add an 'Edit' button or checkbox, whatever, to the page. Look at how the calls are made. I found out, for modifications I'm working on for /admin/categories.php to display a CD tracks list. I just use a hyperlink using cID, pID and the action to recall categories.php and made changes in the switch/case statements, etc to include my cd_tracks_list.php when the user clicks the preview button. Anyway, this may not be as bad as you think.

 

I hope I managed help, at least some. :)

James Cook

SELECT * FROM users WHERE clue > 0

GO

(0 records returned)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...