Page 33 of 47 FirstFirst ... 23313233343543 ... LastLast
Results 321 to 330 of 461
  1. #321
    Join Date
    May 2006
    Location
    Montana
    Posts
    291
    Plugin Contributions
    20

    Default Re: FEEDBACK ON BETA of v1.5.5

    Ok thanks Linda - will keep that in my arsenal of upgrade things not to forget! lol

    However.... we are still left with the core / vanilla 1.5.5 issue of not being allowed to add a text attribute to a product without first creating a "fake" non/text option name and value.

    This happens when there are NO option names or values entered - which is the core settings. Guessing someone needs to revise that - otherwise people are not going to have a clue that they need to create that "fake" attribute in order to get a text attribute to work. This could be as simple as to just to include a "sample" option name and value in the core SQL. That would solve the issue as long as no one deletes that... has the page empty of attributes, then tries to enter a text attribute.

    Quote Originally Posted by Ajeh View Post
    Had those been there, there would have been a slightly different setting as the upgrader fo v155 would have run:
    Code:
    UPDATE configuration set configuration_group_id = 6 where configuration_key in ('PRODUCTS_OPTIONS_TYPE_SELECT', 'UPLOAD_PREFIX', 'TEXT_PREFIX');
    You should run that in the Tools ... Install SQL patches .. to bring them up to date on the configuration_group_id to switch from 0 to 6 ...

  2. #322
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: FEEDBACK ON BETA of v1.5.5

    Quote Originally Posted by stellarweb View Post
    However.... we are still left with the core / vanilla 1.5.5 issue of not being allowed to add a text attribute to a product without first creating a "fake" non/text option name and value.

    This happens when there are NO option names or values entered - which is the core settings. Guessing someone needs to revise that - otherwise people are not going to have a clue that they need to create that "fake" attribute in order to get a text attribute to work. This could be as simple as to just to include a "sample" option name and value in the core SQL. That would solve the issue as long as no one deletes that... has the page empty of attributes, then tries to enter a text attribute.
    I think you lost me ...

    What is the "fake" attribute that you are referring to?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #323
    Join Date
    May 2006
    Location
    Montana
    Posts
    291
    Plugin Contributions
    20

    Default Re: FEEDBACK ON BETA of v1.5.5

    Plain / vanilla / fresh install of 1.5.5 code from yesterday without any demo products ....

    Went to Catalog>Option Name Manager>Created an Option name of "enter your text here" with an option type of "text"
    Went to Catalog>Attributes Controller>So I could apply this text option to a product and I get the following error at the top of the screen "Warning: No Option Values have been defined"
    So... I cannot add a text option to my product right out of the box.
    BUT... if I go to Catalog>Option Name Manager> and create a "fake" option name, and then create a value that is NOT a text option (eg checkbox, radio, etc) THEN when I go to Attributes controller, I can add my text box to my product.

    That is why I am saying that if a "fake" or "example" attribute were added to the core sql, then this would not happen unless someone goes in and removes the "example" one.

    I have no clue if other versions other than 1.5.5 are this way. I only tested 1.5.5

    Hope that is clearer than mud!

    PS - Linda let me know if you need access to my install and I will pm it to you.


    Quote Originally Posted by Ajeh View Post
    I think you lost me ...

    What is the "fake" attribute that you are referring to?

  4. #324
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: FEEDBACK ON BETA of v1.5.5

    Quote Originally Posted by rbarbour View Post
    I know this is pretty petty but one thing I have always struggled with is styling the "display price".

    Maybe it would be possible to add a span in functions_prices.php, I alter this file for this reason on every template or client site I have ever designed or re-designed.

    line 255:
    PHP Code:
            if ($product_check->fields['product_is_free'] == '1') {
              
    $show_normal_price '<s>' $currencies->display_price($display_normal_pricezen_get_tax_rate($product_check->fields['products_tax_class_id'])) . '</s>';
            } else {
              
    $show_normal_price $currencies->display_price($display_normal_pricezen_get_tax_rate($product_check->fields['products_tax_class_id']));
            } 

    perhaps something like:
    PHP Code:
            if ($product_check->fields['product_is_free'] == '1') {
              
    $show_normal_price '<span class="productFreePrice"><s>' $currencies->display_price($display_normal_pricezen_get_tax_rate($product_check->fields['products_tax_class_id'])) . '</s></span>';
            } else {
              
    $show_normal_price '<span class="productBasePrice">' $currencies->display_price($display_normal_pricezen_get_tax_rate($product_check->fields['products_tax_class_id'])) . '</span>';
            } 
    Done. https://github.com/zencart/zencart/pull/795
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #325
    Join Date
    May 2009
    Posts
    1,238
    Plugin Contributions
    2

    Default Re: FEEDBACK ON BETA of v1.5.5

    I am not sure if this is the right place, in case I apologize.

    Why isn't still available the grid layout for product listing, as to give more flexibility, and being a common feature on other carts, and quite requested?
    In the few carts I installed Zen Cart it was not such a hard task to add the plugin, hence IMHO making it native shouldn't be overlooked.

  6. #326
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: FEEDBACK ON BETA of v1.5.5

    Quote Originally Posted by stellarweb View Post
    Plain / vanilla / fresh install of 1.5.5 code from yesterday without any demo products ....

    Went to Catalog>Option Name Manager>Created an Option name of "enter your text here" with an option type of "text"
    Went to Catalog>Attributes Controller>So I could apply this text option to a product and I get the following error at the top of the screen "Warning: No Option Values have been defined"
    So... I cannot add a text option to my product right out of the box.
    BUT... if I go to Catalog>Option Name Manager> and create a "fake" option name, and then create a value that is NOT a text option (eg checkbox, radio, etc) THEN when I go to Attributes controller, I can add my text box to my product.

    That is why I am saying that if a "fake" or "example" attribute were added to the core sql, then this would not happen unless someone goes in and removes the "example" one.

    I have no clue if other versions other than 1.5.5 are this way. I only tested 1.5.5

    Hope that is clearer than mud!

    PS - Linda let me know if you need access to my install and I will pm it to you.
    When you first go to the Catalog ... Option Name Manager and Created an Option name of "enter your text here" with an option type of "text" ... did you have any other Option Names before you tried to make it?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #327
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: FEEDBACK ON BETA of v1.5.5

    Quote Originally Posted by dbltoe View Post
    Back at the problems with the 1.3.9h to 1.5.5 upgrade...
    When doing:
    1. complete new install of 1.5.5 zip using download from last night.
    2. new database populated by 1.5.5 install
    3. delete tables on new install
    4. import tables from old site
    5. run database upgrade using zc_install
    6. upgrade stops saying we are not at 1.5.3 and cannot upgrade to 1.5.4
    7. backing up to the zc_install directory and selecting database upgrade once again.
    8. Get Attachment 15947
    9. Go to admin and get Attachment 15948
    10. Look at database with Navicat and get Attachment 15949

    Nothing we do can get us past this point.
    Thanks for the test database. I found a way to log some more detailed errors, and it flagged up an error related to your customers table.
    Also using Navicat I discovered that you have a single customer record in your particular DB whose customers_dob is set to '0000-00-00 00:00:00' (which is invalid in modern MySQL versions) instead of '0001-01-01 00:00:00'. Changing that lets the installer properly update the schema in the customers table for the v153 changes, and lets the installer proceed.

    I can't find where customers_dob was ever set to zeros by default, so I'm reluctant to start adding SQL to the upgrade to deal with userland data problems.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

    Default Re: FEEDBACK ON BETA of v1.5.5

    Quote Originally Posted by Ajeh View Post
    When you first go to the Catalog ... Option Name Manager and Created an Option name of "enter your text here" with an option type of "text" ... did you have any other Option Names before you tried to make it?
    From the couple of times identified above, it looks like a blank database (tables created to support ZC 1.5.5 created) with no attributes of any type added to table(s) before adding the one text option_name which does not populate the option_values table.

    Looking at admin/attributes_controller.php lines 15-24 option related data is identified present in series.. First for option_names, then by option_values. Option_value search does not account for option_names existing that also do not have dependent option_values (text and file uploads)... An independent "search" would in some way help with this to accept/consider that the option_names that came back are those that don't have option values... Not well said:

    If no option_names: error message.
    If no option_values:
    Cycle through the option_names, if any option_name is not text or file upload, then error like currently, otherwise carry on to next check...

    And actually, even that is incomplete, because there is no test of whether the option_values relate to the option_names... But...
    Last edited by mc12345678; 23 Jan 2016 at 04:55 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #329
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: FEEDBACK ON BETA of v1.5.5

    Thinking a little further on that... Perhaps a new function that receives pertinent data and returns whether the option_name is expected to have an option_value or nnot with a notifier included for others that may develop/have developed an option_name that inherently doesn't carry an option_value... Of course can always go the reverse and identify if the option_name does carry an option_value, either would resolve that "issue".

    This second one though, would require the contributor to include a step to add the option_name to the "yes have values" list as compared to the less frequent "no don't have values" list which pretty much is an abnormality... :/
    Last edited by mc12345678; 23 Jan 2016 at 05:21 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #330
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: FEEDBACK ON BETA of v1.5.5

    Created pull request #799 to potentially address the issue identified by stellarweb of beginning with a blank database (no attributes either option name or option value) and adding only an option name that does not have a corresponding option value required/expected. IE. Text attribute or file upload... This is unfortunately untested as a "thought experiment". Added a notifier to allow developers to "chime in" on option names that have been created that do not have option value assignments. All other added option_names would be expected to have an option value. (I considered this the more "conservative" action.)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 33 of 47 FirstFirst ... 23313233343543 ... LastLast

Similar Threads

  1. v155 BETA feedback for Responsive-Classic in v155-beta
    By picaflor-azul in forum Addon Templates
    Replies: 51
    Last Post: 5 Mar 2016, 09:14 PM
  2. Community feedback invited for v155-beta [now closed]
    By DrByte in forum Zen Cart Release Announcements
    Replies: 1
    Last Post: 11 Feb 2016, 01:38 AM
  3. v1.3.9 (Beta now closed. See official release)
    By DrByte in forum Zen Cart Release Announcements
    Replies: 1
    Last Post: 19 Apr 2010, 05:03 PM
  4. Closed Catagory Tree?
    By Camarilladee in forum Basic Configuration
    Replies: 0
    Last Post: 15 Jul 2006, 04:24 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR