Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Minicart - How do I make the Quantity unchangable?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-27-2011, 12:34 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Minicart - How do I make the Quantity unchangable?

I'm working with v4.4.3 and the aqua_marine theme. When a customer adds a product to their cart, then clicks the "cart full" icon, a popup opens with the items in their cart. It displays the product name, the quantity, and the price. It also has links to "view cart" and "checkout".

Now, here is my question... why does the customer have the ability to change the quantity displayed in the quantity box (why is it a box?), but then it doesn't save the "change" made?

I want either the quantity to be "fixed" so the customer can't alter it, or the ability to "save" the change when they do. How would I do this? I prefer the customer not being able to change it in this box.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #2  
Old 07-15-2011, 11:24 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Minicart - How do I make the Quantity unchangable?

Maybe I am being unclear.. what I want to do is make the little quantity box in the Ajax mini-cart "not editable". Right now, the customer can change the quantity in the box but the edit never gets updated. Any help?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 07-15-2011, 04:47 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Minicart - How do I make the Quantity unchangable?

There is a setting in admin if customers can change quantity in cart but not sure if it applies to minicart as well (it should)
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
JWait (07-17-2011)
  #4  
Old 07-17-2011, 06:41 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Minicart - How do I make the Quantity unchangable?

Quote:
Originally Posted by cflsystems
There is a setting in admin if customers can change quantity in cart but not sure if it applies to minicart as well (it should)

I want to keep the ability for the customer to edit their cart. The problem is, the Ajax mini-cart allows the customer to change the quantity but doesn't save the change. This can get confusing for the customer, and seems kind of pointless to allow the change at all. Why it would be a input text field without a submit button is beyond me.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #5  
Old 07-19-2011, 09:54 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Minicart - How do I make the Quantity unchangable?

OK, I've checked and verified this...
Somewhere between version 4.3.2 and 4.4.3 the Ajax minicart was changed. In version 4.3.2 when the customer clicks on the "cart full" image a popup opens and the customer can edit the quantity in the cart and there are "update" and "clear cart" buttons. In version 4.4.3 both of these buttons are missing. I verified this in the demo using the Vivid Dreams Aquamarine scheme.

Is this a bug, and if so how can I fix it?
I reported it in bugtracker.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #6  
Old 08-06-2011, 12:17 PM
  rubberneck's Avatar 
rubberneck rubberneck is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 161
 

Default Re: Minicart - How do I make the Quantity unchangable?

Did you get an answer to this question. It seems crazy that there's no 'update' in the ajax minicart.
__________________
--
Version 4.0.17 Gold
Version 4.1 Gold
Version 4.4 Gold
Reply With Quote
  #7  
Old 08-07-2011, 04:02 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Minicart - How do I make the Quantity unchangable?

I reported it in bugtracker. Here is the url
https://bugtracker.qtmsoft.com/view.php?id=40060

The only response received was July 19 when they reported "Your problem report has been forwarded to our specialists and will be processed soon."
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #8  
Old 08-07-2011, 04:17 PM
  rubberneck's Avatar 
rubberneck rubberneck is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 161
 

Default Re: Minicart - How do I make the Quantity unchangable?

So "soon" is more like "in 3 or 4 years"? It just seems like such a sloppy mistake that it frustrates me. I think I'm going to take a look at coding in an 'update' link, so that the customer can change quantities and 'update'.

I'll share if I get it working.

-JM
__________________
--
Version 4.0.17 Gold
Version 4.1 Gold
Version 4.4 Gold
Reply With Quote
  #9  
Old 08-11-2011, 02:46 PM
  rubberneck's Avatar 
rubberneck rubberneck is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 161
 

Default Re: Minicart - How do I make the Quantity unchangable?

I got it working on my cart. I'll try to compress into something I can share. It wasn't too bad to do.
__________________
--
Version 4.0.17 Gold
Version 4.1 Gold
Version 4.4 Gold
Reply With Quote

The following user thanks rubberneck for this useful post:
JWait (08-12-2011)
  #10  
Old 08-12-2011, 05:09 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Minicart - How do I make the Quantity unchangable?

x-cart is saying it isn't a bug... that all you have to do is enter the change and hit the enter key. For a cart that uses buttons for virtually everything else that is extremely poor programming.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:57 PM.

   

 
X-Cart forums © 2001-2020