
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2017 12:38 PM
Hi All,
In Dev Helsinski....
Trying to get the value of shopping cart Quantity on a catalog client script. Using price from UI macro "sc_order_item_subtotal", id = price_label_span but not able to get the quantity
Thanks
Tez
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2017 02:31 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2017 02:31 PM
Use thin in the client script to get the quantity
$('quantity').value

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2017 06:33 AM
Hi Abhinay,
Got that working and use in single client script. With this, was able to reduce the number of client scripts.
Thanks
Tez
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2017 03:52 AM
Hi Tez,
I am looking for the same. Would it possible for you to share the code that you have written?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 04:25 PM
@Abhinay this would work only i the order guide view , I am trying to get the quantity from teh Shopping cart onto my client script and $('quantity').value i.e. ($) is an unsupported method
So how do I get the Quantity??
regards,
Manoj