| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
allowing orders of out of stock items? | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
I went about this a slightly different way in 4.0.12 with product options enabled. Note that I have tried this on products without options and it works fine as well.
First, I went and set unlimited products to yes. I then modified the following: /skin1/customer/main/product.tpl - line 178 change: Code:
to Code:
This will make your quantity in stock display. Then change /skin1/modules/Product_Options/check_options.tpl - line 351 change: Code:
to Code:
This seems to work for me. If people want to try it, let me know if there are any issues and I'll try to resolve them. It's kind of a kludge, but I could easily see it being a simple configurable checkbox as a sub-configuration item of unlimited products.
__________________
X-Cart Gold 4.0.14 X-AOM 4.0.14 X-GiftReg 4.0.14 |
|||||||
#22
|
|||||||
|
|||||||
deleted due to change in info
__________________
-------------------------- X-cart ver 4.0.16 |
|||||||
#23
|
|||||||
|
|||||||
Quote:
Ok, Mr Balinor said he used JKK's version and it worked ok for him. Well, the first thing JKK said to do was to make the change that Boomer lists in the above quote. Unfortunately, when I go edit the skin1.conf file, it is fairly empty and there is no variable UnlimitedProducts ="N". Could I just write it in there or would that not work? Or do I need to be on a minimum of 4.0.12 to get this to work? Thanks again for putting up with these questions.
__________________
-------------------------- X-cart ver 4.0.16 |
|||||||
#24
|
|||||||
|
|||||||
Quote:
Ah - no - actually what I did was set the unlimited products equal to "yes" in the administration panel. You can find this under Administration->General Settings->General Options->Disable products which are out of stock Hope that helps. -jkk
__________________
X-Cart Gold 4.0.14 X-AOM 4.0.14 X-GiftReg 4.0.14 |
|||||||
#25
|
|||||||
|
|||||||
Quote:
Do you mean you uncheck the option ? Thanks :sK
__________________
X-Cart Version 4.0.12 Gold |
|||||||
#26
|
|||||||
|
|||||||
thanks jkk for verifying. much appreciated.
unfortunately, my version 4.0.9 of product.tpl does not have the line 178. Only goes to 175. and I cant find anything similar to that line either. guess i will have to relook at this thread after I have upgraded my store.
__________________
-------------------------- X-cart ver 4.0.16 |
|||||||
#27
|
|||||||
|
|||||||
Quote:
Yes. Quote:
Sound like a plan. It should be an easy upgrade, I would go for it if I were you. -jkk[/quote]
__________________
X-Cart Gold 4.0.14 X-AOM 4.0.14 X-GiftReg 4.0.14 |
|||||||
#28
|
|||||||
|
|||||||
I'm trying to implement some of the procedures in this thread (jkk's and countypaintball's). I'm in version 4.0.14 and none of these options seem to be working. Specifically several of the files to alter are in different directories and I assume there are other changes in X-cart that are preventing these alterations from working. Has anyone else had similar difficulties?
Thanks
__________________
X-Cart Pro v4.4.3 |
|||||||
#29
|
|||||||
|
|||||||
I'm working on the newer version of x-cart (4.0.15 - whatever) and the directories have changed along with line numbers. I'll post if I get it all working properly.
The part I haven't addressed yet is how to ship partial orders and keep everything straight.
__________________
Mike Everland CountyPaintball.com |
|||||||
#30
|
|||||||
|
|||||||
I had been meaning to post this a while ago, but hadn't gotten round to it.
I accomplished this... it's a workaround rather than a clean solution - but it's quick, it's easy (you dont have to go messing about with .php files) and it works. Although there is a catch. Basically, what you want to happen is for the customer to know the item is in stock and place an order, or that the item is not in stock and still place the order. So all you have to do is 'trick' the cart into thinking that you have more product than you actually do. I just added an "Availability" label on my product pages (product.tpl), and next to it put: {if $product.avail gt 100} IN STOCK MESSAGE {else} OUT OF STOCK MESSAGE {/if} So, if the stock level goes under 100, customers see the "out of stock message", otherwise they see the "in stock message". All you have to do now is to adjust the stock levels for your products by adding 100 to whatever amount you actually have in stock. In other words, if you have 10 items in stock you edit the inventory level for that product in admin to 110. This way the cart system thinks there are at least 100 items in stock, so it lets customers add the product into the cart, while at the same time, you can also keep track of your inventory by subtracting 100 from the amount shown. And since the stock levels are still maintained accurately, the customer can clearly see whether it's really in stock or not. Plus, you can also set the Low Limit to whatever you want + 100 so that you continue to get the email notifications when the product runs low. So if you want to be notified when you've got 2 in stock, just set the Low Limit value to 102. Even if you have already entered your products in the db, you can still use this method - just import your products into Excel, and do the calculation (+100) in bulk, then reimport back into xcart - doing this in Excel should only take about 5-10 minutes even if you've got thousands of products. Well as I say, it's not ideal, but it works - and it should work fine in any version of xcart. |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|