Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
the admin setting is set to true...
Line 8 of the includes/classes/order.php is
* @version $Id: order.php 0000 2007-09-19 00:00:00Z kuroi $
I also reloaded all the files for this version 4_5.
Still no change in the issue.
Here is a link to the dev site:
http://ffdev4.net/
Thanks for your attention to this!
@rogerh
Could you tell me which product it is, how much stock you have set for each product variant and set "Show stock when low" to true.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
http://ffdev4.net/index.php?main_pag...&products_id=4
85
I have two in stock in size 80, and one in size 86. As you will see, you can
buy 2, and even 3, in size 86 (which should show out of stock at 2), but
when you add the 4th, it finally shows out of stock.
Every single product that has more than one (which is pretty much the whole
site minus just a few) is calculating stock this way.
Show available stock in cart when less than order is set to true (I think
that was the setting you were referring to?)
Version 4.7 of Stock by Attributes is release for Zen Cart 1.3.8. Please don't try to use it on earlier versions of Zen Cart, it will probably fail.
There are no functional changes. It's simply a maintenance mod that incorporates the 1.3.8 changes into this mod's versions of core Zen Cart files that it over-writes or over-rides.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
The source of the problem on your site is the extra step that you have added to the installation process, i.e. make a copy of the file being over-written.
While this is not a bad thing to do in principle (though personally I prefer to keep a copy of the whole Zen Cart release package handy) I would strongly advise against ever mixing them in with your live files.
What has happened on your site is that first the new files from the stock by attributes mod get executed and work perfectly. And then your back up files get executed and over-write the stock by attributes results.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
hi,
I am trying to install the great add-on you made; Stock by Attributes . http://www.zen-cart.com/index.php?ma...roducts_id=310
version 4.6
in the readme file there is a point regarding installing file;
There are six core Zen Cart files modified by this add-on. If you have installed other add-ons or customised your cart since your Zen Cart installation or upgrade, you will need to check whether they have changed any of the following files:
In addition, one file is over-ridden
- admin/includes/stylesheet.css
- admin/orders.php
- includes/classes/order.php
- includes/functions/functions_lookups.php
- includes/modules/pages/checkout_shipping/header_php.php
- includes/modules/pages/shopping_cart/header_php.php
My webshop is already online with products and customers etc. so i guess its not a new installation. btw, i am running 1.3.7.1 .
- includes/templates/template_default/templates/tpl_shopping_cart_default.php
I wanted to upload the above mentioned files with my flashfxp, should i override the current files or not?
like for example: admin/orders.php , should i override this orders.php file with the one already exist? if not what should i do? i really want to install this module but unfortunatly i do not have enough knowledge to merge the files or do anything with them...i am learning everyday!
looking forard for your reply
Thanks in advance
Saman-
Hi saman
Most of the files that you listed cannot be over-ridden - they can only be over-written.
Whether or not you should do this would depend upon whether you have installed other mods that have already changed them. Only you can answer that.
If you have, then your only options are to uninstall the other mods in favor of this one, merge the files together, or employ somebody (maybe from the Commercial Help Wanted forum) to do the job for you.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Bookmarks