Results 1 to 10 of 546

Hybrid View

  1. #1
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

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

  2. #2
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Product Attribute Grid

    Quote Originally Posted by mc12345678 View Post
    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 View Post
    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.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

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

  4. #4
    Join Date
    Mar 2016
    Location
    paris
    Posts
    5
    Plugin Contributions
    0

    Default 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?

  5. #5
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Product Attribute Grid

    Quote Originally Posted by lizakos View Post
    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...

  6. #6
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Product Attribute Grid

    Quote Originally Posted by mc12345678 View Post
    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...

  7. #7
    Join Date
    Sep 2012
    Location
    Illinois
    Posts
    24
    Plugin Contributions
    0

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

  8. #8
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Product Attribute Grid

    Quote Originally Posted by Dream9Studios View Post
    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...

  9. #9
    Join Date
    Sep 2012
    Location
    Illinois
    Posts
    24
    Plugin Contributions
    0

    Default Re: Product Attribute Grid

    Quote Originally Posted by mc12345678 View Post
    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.

 

 

Similar Threads

  1. Product Attribute Grid Help - Willing to Pay
    By MM_Dude in forum General Questions
    Replies: 0
    Last Post: 26 Nov 2014, 08:19 PM
  2. Quick Order & Product Attribute Grid...Possible?
    By laurenjj in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 2 Jul 2010, 02:02 AM
  3. Product Attribute Grid!!!
    By runoka in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 5 Apr 2010, 05:50 PM
  4. Product Attribute Grid Instructions Possible Paragraph Missing
    By printchic in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 8 Aug 2009, 05:54 AM
  5. Help Uninstalling Product Attribute Grid
    By Dr Tweak in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 20 May 2008, 05:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg