Re: Product Attribute Grid
FYI, submitted version 1.3 to the downloads section for Product Attribute Grid in support of ZC 1.5.3+. There is a little customization included that probably should have been removed (when presenting quantities, topped off at 5), but I also expect to upload the software again after some other modifications have been incorporated. Until then, happy hacking... :)
Re: Product Attribute Grid
Hello
The link only offers version 1.2
Is this compatible version 1.5.5 zen cart ?
Re: Product Attribute Grid
Quote:
Originally Posted by
lizakos
Quote:
Originally Posted by
mc12345678
FYI, submitted version 1.3 to the
downloads section for Product Attribute Grid in support of ZC 1.5.3+. There is a little customization included that probably should have been removed (when presenting quantities, topped off at 5), but I also expect to upload the software again after some other modifications have been incorporated. Until then, happy hacking... :)
Hello
The link only offers version 1.2
Is this compatible version 1.5.5 zen cart ?
Welcome to ZC, while it may be uploaded to the system, please remember that ZC is primarily supported by unpaid volunteers supporting for the greater good (not to say that offerings can't be made). The applicable ZC software approval personnel have been notified using the submission process, once they have done what is needed to approve the software, the link above ought to reflect version 1.3 at least as available. Regarding specific operation/functionality it *has* been tested on ZC 1.5.5 and supports installation to carts that have product without attributes, product with attributes, and with product that have attributes tracked by Stock-by-attributes as available from the above github location that is expected to be uploaded to ZC in the near future replacing the potteryhouse version and will support ZC 1.5.1 through ZC 1.5.5 with exception of ZC 1.5.2 (not formally released for production).
Re: Product Attribute Grid
Quote:
Originally Posted by
mc12345678
FYI, submitted version 1.3 to the
downloads section for Product Attribute Grid in support of ZC 1.5.3+. There is a little customization included that probably should have been removed (when presenting quantities, topped off at 5), but I also expect to upload the software again after some other modifications have been incorporated. Until then, happy hacking... :)
Version 1.3 has been made available for download.
Re: Product Attribute Grid
Thank you for this latest version 1.5.5 it works on MAC.
I just have a little problem the grid appears 2 times
I can not find the problem
Re: Product Attribute Grid
:sourire:Thank you for this latest version it works on Zen Cart 1.5.5.
I just have a little problem the grid appears 2 times:non:
I can not find the problem
Re: Product Attribute Grid
Your includes/modules/YOUR_TEMPLATE/attributes.php file, does it contain any grid related code or is it the attributes.php file that was provided in the latest download? A simple search for grid within the file should identify the presence.
Re: Product Attribute Grid
If it does match the file provided, (the word grid not found in it) then in the class file, comment out the line in the __construct section that ends with 'NOTIFY_ATTRIBUTES_MODULE_OPTION_BUILT';
This would be towards the top of the file and looks similar to:
$attachNotifier = 'NOTIFY_ATTRIBUTES_MODULE_OPTION_BUILT';
And try to modify like:
//$attachNotifier = 'NOTIFY_ATTRIBUTES_MODULE_OPTION_BUILT';
Re: Product Attribute Grid
Quote:
Originally Posted by
mc12345678
Your includes/modules/YOUR_TEMPLATE/attributes.php file, does it contain any grid related code or is it the attributes.php file that was provided in the latest download? A simple search for grid within the file should identify the presence.
Quote:
Originally Posted by
mc12345678
If it does match the file provided, (the word grid not found in it) then in the class file, comment out the line in the __construct section that ends with 'NOTIFY_ATTRIBUTES_MODULE_OPTION_BUILT';
This would be towards the top of the file and looks similar to:
$attachNotifier = 'NOTIFY_ATTRIBUTES_MODULE_OPTION_BUILT';
And try to modify like:
//$attachNotifier = 'NOTIFY_ATTRIBUTES_MODULE_OPTION_BUILT';
Sorry, was able to duplicate the problem when I had two attributes in the grid.
Found the problem/solution.
In:
includes/classes/observers/class.attributes_grid_products.php
Lines 69 - 71 (original):
Code:
if ($i == 1) {
$this->_products_options_names_current++;
}
Change to:
Code:
$this->_products_options_names_current++;
By deleting the code at line 71 and then line 69 (Reversed order provided so that the numbers don't change in the middle of the edit).
Disregard the commenting out from my previous post. That code,
Code:
$attachNotifier[] = 'NOTIFY_ATTRIBUTES_MODULE_OPTION_BUILT'; // keep
does *not* need to be commented out.
Re: Product Attribute Grid
Submitted version 1.3.1 to the plugin forum to incorporate the above correction. After the software has been reviewed and posted it should be available here.