| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Default Product Values | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Default Product Values
How do you change the default product values? I would like the default product quantity to be 1.
__________________
David X-Cart Business 5.3.2.2 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Default Product Values
Quote:
Please specify your X-Cart version. It would be useful to add it into your signature. Thanks.
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
#3
|
|||||||
|
|||||||
Re: Default Product Values
5126 I think
__________________
David X-Cart Business 5.3.2.2 |
|||||||
#4
|
|||||||
|
|||||||
Re: Default Product Values
Dave,
Are you talking about the default quantity on the product page when a customer adds the item to the cart? If so, I believe the default is 1. To change this number go to the Admin area of your X-Cart and navigate to the details page for an individual product. On this page select the "Inventory tracking" tab. Here you can change the Minimum purchase quantity.
__________________
Brian X-Cart 4.7.3 |
|||||||
#5
|
|||||||
|
|||||||
Re: Default Product Values
When you are adding a new product to the product catalog. The product has default values like quantity 1000
__________________
David X-Cart Business 5.3.2.2 |
|||||||
#6
|
|||||||
|
|||||||
Re: Default Product Values
Quote:
To change the default would require a custom module in XC5. When creating the new product you have a lot of the standard options on the "Add product" page in admin, including the "Quantity in stock" field. I guess you want to streamline the adding products and deal with as few of these fields as possible. Another option after adding all of the products for a category is to look at the products as a list by clicking into the category. There you can change the "In stock" value for multiple products with one Save action. Additionally, if importing products you can set this value to whatever you want in your import file. Even if adding the products by hand and wanting a quick way to bulk edit, you could export, edit the .csv, and re-import with the new values. Hope some of this helps.
__________________
Brian X-Cart 4.7.3 |
|||||||
#7
|
|||||||
|
|||||||
Re: Default Product Values
Ok Thank you Brian. Maybe having a button on the bottom of the product page "Set as product defaults" might be a nice feature to add to x-cart.
__________________
David X-Cart Business 5.3.2.2 |
|||||||
#8
|
|||||||||
|
|||||||||
Re: Default Product Values
Quote:
To change the default quantity you should change the value of the AMOUNT_DEFAULT_INV_TRACK constant in the /classes/XLite/Model/Inventory.php file (line 49) By default it is Code:
Code:
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
#9
|
|||||||
|
|||||||
Re: Default Product Values
Quote:
Igor, If he upgrades XC5 will these changes remain?
__________________
Brian X-Cart 4.7.3 |
|||||||
#10
|
|||||||
|
|||||||
Re: Default Product Values
Yes! Thank you! I'll try tonight and get back to you.
__________________
David X-Cart Business 5.3.2.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|