And a few more corrected in that same observer class also related with option name/value deletion:
https://github.com/mc12345678/Stock_...f775936fb0eaca
And a few more corrected in that same observer class also related with option name/value deletion:
https://github.com/mc12345678/Stock_...f775936fb0eaca
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
A couple of questions please.
I'm running 1.5.5a on PHP 7.0.12, with this work OK.
Also, say if I have T-shirts in different sizes and a particular size becomes out of stock, will it continue to be available for sale or not?
Thanks
Dene
Nothing has denoted that the version available from github won't work on that version of PHP. As for out-of-stock saleability, it is primarily up to how your store is setup as to whether an out-of-stock specific attribute can be "oversold" or not. It has been designed to follow the overall settings of your store such that if your store does not allow selling product that are considered out-of-stock then the plugin will prevent the same at some point in the purchase process.
I have a few things to push to github for further improvements, but as with all plugins, I would suggest installing to a trial location before applying to your live store.
For those wondering about the improvements, well, have modified the stock reporting capabilities so that the listing in the dynamic dropdowns area is expected to only show items that can exist as defined in the admin (ie. Currently out-of-stock options are those that could theoretically exist based on the selections made on the attributes controller. On an upcoming github upload that "stock" display (absence of stock on identified/designated) will be added for dynamic dropdowns when using the default "filter" for multiple product.
Also, some javascript improvements have been made both on the catalog and admin sides. There are/may be some other improvements to be added depending on various factors, but trying to finish cleaning up the javascript before pushing it.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
I'm an idiot. I tried to install this but didn't backup first now I can't get into my admin panel.
Any ideas?
Code:[31-Oct-2016 22:16:12 UTC] PHP Fatal error: Uncaught Error: Call to undefined function zen_get_ip_address() in /var/www/vhosts/localhost.localdomain/httpdocs/IQ/shop/NOTMYADMIN/includes/init_includes/init_sessions.php:31 Stack trace: #0 /var/www/vhosts/localhost.localdomain/httpdocs/IQ/shop/includes/autoload_func.php(48): require() #1 /var/www/vhosts/localhost.localdomain/httpdocs/IQ/shop/NOTMYADMIN/includes/application_top.php(171): require('/var/www/vhosts...') #2 /var/www/vhosts/localhost.localdomain/httpdocs/IQ/shop/NOTMYADMIN/index.php(10): require('/var/www/vhosts...') #3 {main} thrown in /var/www/vhosts/localhost.localdomain/httpdocs/IQ/shop/NOTMYADMIN/includes/init_includes/init_sessions.php on line 31
Very unusual error messages, but when you say "this" can you please elaborate to ensure we are all referencing the same software.
If had downloaded the version from github, what had been installed or attempted to be installed? Did you get to the point of trying to install version specific files or did you only get the "all versions" files (includes and admin directories) installed?
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
https://www.zen-cart.com/downloads.php?do=file&id=202
I downloaded 1.5.3, changed the folder names to match my theme/admin and uploaded. I actually did back up the files that it wanted to overwrite first.
I then went to load stock_by_attr_install.php which is when I got the blank screen. I tried to then go to admin but blank screen. I then copied back the files that I had backed up:
admin/invoice.php
admin/orders.php
admin/packingslip.php
admin/includes/functions/general.php
admin/includes/classes/order.php
includes/classes/order.php
includes/functions/functions_lookups.php
includes/functions/extra_functions/products_with_attributes.php
includes/modules/pages/checkout_shipping/header_php.php
includes/modules/pages/shopping_cart/header_php.php
But still get the blank screen :-/
Oye. Okay. So 1) the version currently offered on this website is for ZC 1.5.1. There's a lot that has changed related to it. If I'm not mistaken some of the additional files that exist in directories like includes/auto_loaders (store or admin) might cause the issue that you are seeing.
Would appear that almost none of the last page or two has been reviewed nor the previous message I posted indicating that would need to download from github to support ZC 1.5.5 (and honestly right now would be the best source for any 1.5.1-1.5.x install as it contains files compatible with all versions (except 1.5.2) and doesn't have the issue reported above.
It hasn't been pushed to the ZC site because of two things: 1) instructions need updating from all the hard work that potteryhouse did and 2) doesn't seem to me to be at the quality level I would like to be able to call it a ZC plugin. There are areas where a store owner could cause oneself trouble because the code doesn't notify them that what they are doing is not right or it doesn't prevent the action. Some of those things I'd rather just make possible instead of strictly prohibiting. I may not directly deal with them, but by staying open minded they can be addressed later.
Anyways, glad you had backups of the files to be overwritten, now need to remove (or overwrite with those from github) the ones that were added new.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Another thing. Did the error message change?
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Bookmarks