- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2014 02:49 AM
Hello Everyone,
I want to add some new value to the quantity field in Shopping cart of catalog item.
I tried using the sys_choice table to enter new values but this new values reflect for every catalog item present.
To increase or reduce the quantities that a customer can select for catalog items:
- Navigate to System Definition > Choice Lists.
- Filter the list for records with Table set to sc_cart_item and the Element set to quantity. The existing quantity choices appear.
Is there any way to restrict the new choices only to a particular catalog item ??
Regards,
Sachin
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2014 06:48 AM
Well at the end catalog client script helped.
Wrote a small onLoad script for the catalog item.
function onLoad() {
document.getElementById("quantity").innerHTML ='<option value="1" SELECTED="SELECTED">1</option><option value="4">4</option><option value="8">8</option><option value="12">12</option><option value="16">16</option><option value="20">20</option>';
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2014 06:37 AM
Well I thought may be Catalog client script would be of some help but i got stucked.
Quantity dropdown on the shopping cart is not a variable. Can any one help me to get this by modifying the macro 'catalog_cart_default'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2014 06:48 AM
Well at the end catalog client script helped.
Wrote a small onLoad script for the catalog item.
function onLoad() {
document.getElementById("quantity").innerHTML ='<option value="1" SELECTED="SELECTED">1</option><option value="4">4</option><option value="8">8</option><option value="12">12</option><option value="16">16</option><option value="20">20</option>';
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2015 09:36 AM
HI Sachin,
I have same situation like above..
I used this script and it is working in chrome, firefox and It is not working in IE8 browser.
Is there any other way to do this...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2015 10:30 PM
Ram it worked for me on all the browsers