Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / All Other Contributions/Addons / Product Attribute Grid

Product Attribute Grid

Started by absolute on 15 Jan 2008, 5:01 PM · Views: 139,578

Results 441 to 460 of 546
4 Apr 2016, 4:16 AM
#441
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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... :)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

4 Apr 2016, 7:16 AM
#442
lizakos avatar

lizakos

New Zenner

Join Date:
Mar 2016
Location:
paris
Posts:
5
Plugin Contributions:
0

Re: Product Attribute Grid

Hello
The link only offers version 1.2

Is this compatible version 1.5.5 zen cart ?

4 Apr 2016, 11:39 AM
#443
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Product Attribute Grid

lizakos:

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).

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

5 Apr 2016, 9:45 PM
#444
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Product Attribute Grid

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.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

6 Apr 2016, 7:30 AM
#445
lizakos avatar

lizakos

New Zenner

Join Date:
Mar 2016
Location:
paris
Posts:
5
Plugin Contributions:
0

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

6 Apr 2016, 7:32 AM
#446
lizakos avatar

lizakos

New Zenner

Join Date:
Mar 2016
Location:
paris
Posts:
5
Plugin Contributions:
0

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

6 Apr 2016, 9:14 AM
#447
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

6 Apr 2016, 9:47 AM
#448
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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';

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

6 Apr 2016, 12:59 PM
#449
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Product Attribute Grid

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.

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):

    if ($i == 1) {
      $this->_products_options_names_current++;
    }

Change to:

    
      $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, ```
$attachNotifier[] = 'NOTIFY_ATTRIBUTES_MODULE_OPTION_BUILT'; // keep

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

6 Apr 2016, 1:26 PM
#450
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

6 Apr 2016, 11:35 PM
#451
lizakos avatar

lizakos

New Zenner

Join Date:
Mar 2016
Location:
paris
Posts:
5
Plugin Contributions:
0

Re: Product Attribute Grid

OK great thank you it function

just a quick question for the final price of the order does not change the bottom of the article it keeps the price, this is normal or not?

7 Apr 2016, 12:20 AM
#452
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Product Attribute Grid

lizakos:

OK great thank you it function

just a quick question for the final price of the order does not change the bottom of the article it keeps the price, this is normal or not?

I have not (yet) made any changes to the way this module presents prices or how they appear in the cart. In fact if a product is already in the cart and the customer returns to it, the quantity they enter now will increase by that number (I think. It's been a week or two since I looked at that portion of the code) where I know it used to only set the quantity in the cart by the number selected regardless of what previously existed in the cart. After I get some things further along in Stock By Attributes I may revisit this part, but in total this now works (best) with SBA because SBA accounts for the current cart quantity when adding SBA tracked product.

Answer to the question, I could use a little more of an example to be sure I understand what is being asked, but I would say that what you are seeing probably has existed that way with this plugin. That doesn't mean it is correct or "normal" when compared to standard ZC functionality.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

11 Apr 2016, 7:32 PM
#453
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Product Attribute Grid

mc12345678:

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.

Version 1.3.1 is available for download, it corrects the one issue posted on the previous page. Namely, that if two attributes were marked as using the grid, that the grid was shown twice. That has been resolved.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

14 Apr 2016, 8:23 PM
#454
dream9studios avatar

dream9studios

New Zenner

Join Date:
Sep 2012
Location:
Illinois
Posts:
24
Plugin Contributions:
0

Re: Product Attribute Grid

I'm using Zen Cart 1.5.5 and I installed all of the files and followed the Readme up to the part where it says:
"5) Login to your admin, go to 'Catalog' > 'Option Name Manager' and setup your custom option names (ie. Color, Size). Be sure to select 'Grid' type."

I don't see anything about a "Grid" type in Option Name Manager. I tried uploading the files again and following the instructions again but still no changes at all seem to have been made to my admin. I can't figure out what I'm doing wrong.

14 Apr 2016, 8:35 PM
#455
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Product Attribute Grid

Dream9Studios:

I'm using Zen Cart 1.5.5 and I installed all of the files and followed the Readme up to the part where it says:
"5) Login to your admin, go to 'Catalog' > 'Option Name Manager' and setup your custom option names (ie. Color, Size). Be sure to select 'Grid' type."

I don't see anything about a "Grid" type in Option Name Manager. I tried uploading the files again and following the instructions again but still no changes at all seem to have been made to my admin. I can't figure out what I'm doing wrong.

Been thinking about what the instructions say. As it currently is processed, the Grid option type only appears once a product is selected on the store side that has at least one attribute assigned to it of any type. It is possible to run the necessary SQL to offer the 'Grid' type by other means, but this offers a relatively easy automated method. On next update will see what can be done with the documentation/implementation, but currently the code does require a product to be visited (attributes.php file processed) where an attribute exists.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

14 Apr 2016, 8:53 PM
#456
dream9studios avatar

dream9studios

New Zenner

Join Date:
Sep 2012
Location:
Illinois
Posts:
24
Plugin Contributions:
0

Re: Product Attribute Grid

mc12345678:

Been thinking about what the instructions say. As it currently is processed, the Grid option type only appears once a product is selected on the store side that has at least one attribute assigned to it of any type. It is possible to run the necessary SQL to offer the 'Grid' type by other means, but this offers a relatively easy automated method. On next update will see what can be done with the documentation/implementation, but currently the code does require a product to be visited (attributes.php file processed) where an attribute exists.

But, I did that. I have one product setup with attributes and after installing the files I clicked on that product on the store front end. I then went back to my admin and clicked around until I got to the Options Name Controller and all other attribute controller pages. That's when I realized there was no "Grid" type anywhere to be found. I'm thinking that nothing auto-installed even though I followed the instructions to the letter.

14 Apr 2016, 8:57 PM
#457
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Product Attribute Grid

Dream9Studios:

But, I did that. I have one product setup with attributes and after installing the files I clicked on that product on the store front end. I then went back to my admin and clicked around until I got to the Options Name Controller and all other attribute controller pages. That's when I realized there was no "Grid" type anywhere to be found. I'm thinking that nothing auto-installed even though I followed the instructions to the letter.

Between the first time logging into the admin, navigating to a product with attributes and returning to the admin panel, did you log out and back into the admin between seeing the product and checking the dropdown for adding a new option name in the option names manager? (and/or clear browser I Mean cache?)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

14 Apr 2016, 9:01 PM
#458
dream9studios avatar

dream9studios

New Zenner

Join Date:
Sep 2012
Location:
Illinois
Posts:
24
Plugin Contributions:
0

Re: Product Attribute Grid

mc12345678:

Between the first time logging into the admin, navigating to a product with attributes and returning to the admin panel, did you log out and back into the admin between seeing the product and checking the dropdown for adding a new option name in the option names manager? (and/or clear browser I Mean cache?)

Yes and then I tried it again without logging out at all. Still no Grid options.

14 Apr 2016, 9:05 PM
#459
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Product Attribute Grid

Dream9Studios:

Yes and then I tried it again without logging out at all. Still no Grid options.

Includes/modules/YOUR_TEMPLATE/attributes.php is loaded into the override directory of your template? Such that if your template's directory is 'responsive_x' that:
Includes/modules/responsive_x contains the attributes.php file from this fileset or at least the ZC 1.5.5 version?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

14 Apr 2016, 9:10 PM
#460
dream9studios avatar

dream9studios

New Zenner

Join Date:
Sep 2012
Location:
Illinois
Posts:
24
Plugin Contributions:
0

Re: Product Attribute Grid

mc12345678:

Includes/modules/YOUR_TEMPLATE/attributes.php is loaded into the override directory of your template? Such that if your template's directory is 'responsive_x' that:
Includes/modules/responsive_x contains the attributes.php file from this fileset or at least the ZC 1.5.5 version?

Yes, it's there and in the correctly named folder. I even tried re-uploading it (just in case it was corrupted during transfer) just now and tried again to load the product page, etc. I'm still getting nothing.