Page 283 of 356 FirstFirst ... 183233273281282283284285293333 ... LastLast
Results 2,821 to 2,830 of 3558
  1. #2821
    Join Date
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Quote Originally Posted by mc12345678 View Post
    Yeah, you're the first one to report anything about it. Issues confirmed to exist and have been corrected through the following "comparison" commit (though this was discovered through use of EO 4.1.7 on ZC 1.5.5 that was slightly modified to work with SBA).

    https://github.com/mc12345678/Stock_...3d1a60cda91485

    These exist on the master branch of the plugin.
    Hi again,

    thank you for the answer. I applied all the changes, now no error log is generated but if i try to update and order containing an article with no SBA variants defined but with variants i get a warning and no update are made.
    To be more specific i tested:
    1. adding products with SBA variant -->work fine
    2. adding products without any variants ---> work fine
    3. adding products with variants no SBA defined --> work fine
    4. modifing product with variants no SBA defined --> ERROR no update are made to just variants

    To be precise now it show both the warning:

    "Product 2 in the list below, named 'Incenso', with a quantity of 1 did not exist. Attribute(s) selected:
    Quantita: 100
    Its attribute(s) were not updated."

    And after the green message: "Success: Order has been successfully updated."
    The order has 2 article:
    n°1 has SBA attributes and if I modify it, It got update correctly.
    n°2 has no SBA attribute defined and if i try to update the attributes it wont, BUT if i modify quantity or price it work, so the only thing not updated are the attributes.

    here a screen of it
    Click image for larger version. 

Name:	errorSBA.jpg 
Views:	40 
Size:	34.9 KB 
ID:	17353

    Hope it will help

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

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Info certainly did thank you for being so thorough. I haven't tested this, but would appreciate feedback on it.

    In admin/includes/init_includes/init_eo_sba.php, line 171 add the following:
    Code:
    if (!$_SESSION['pwas_class2']->zen_product_is_sba($product_id)) continue;
    Code:
                            $product_id = $old_product['id'];
    
                            if (!$_SESSION['pwas_class2']->zen_product_is_sba($product_id)) continue;
      
                            // Handle attributes
                            if(!empty($product_options) && is_array($product_options))
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #2823
    Join Date
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Thanks to you for your effort, I'm merely trying to solve this

    Ok Modified and tested, the result is that now no warning appears and it correctly change the attributes. The problem is that it wont change the price associated with the attributes.

    Let me be clear, in the image i posted You can see that the second products "Incenso" has a base price of 5 with a base attribute of 50g, the other attributes is 100g and should apply a +5.00 to the item (it does correctly during the normal buying process).
    Now editing the orders wont show any warning and if You change the attribute it will be updated correctly, but the price will remain always 5.00.

    I'm going to do some more testing with mixed product if i came up with something else i'll post it

  4. #2824
    Join Date
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Sorry i realize only after writing that probabily It's not something that concern SBA module but it's an Edit Order plugin problem cause it affect all the article (SBA or not).
    I will test this to be sure.

  5. #2825
    Join Date
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Hi again,

    confirmed everything works fine. Adding and removing articles and modifing it is ok!

    Thanks a lot for the help

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

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Quote Originally Posted by izar74 View Post
    Hi again,

    confirmed everything works fine. Adding and removing articles and modifing it is ok!

    Thanks a lot for the help
    Thanks for the feedback. It has helped to make the plugin better. I can recall wanting to have those two changes in place, but had moved onto something else before either identifying the issue or it becoming a problem. I think I had just been merrily testing the SBA operation so much that I didn't go back to finish off the remaining. (think I even commented on its limitations at the time of posting awaiting some feedback that you have thankfully provided.)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #2827
    Join Date
    Jun 2016
    Posts
    20
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Hi all,

    I am new to 1.55e, just did a fresh install and i cant seems to find the option to display stock level on the attribute
    Click image for larger version. 

Name:	attribute.png 
Views:	30 
Size:	129.1 KB 
ID:	17359

    Already did the options for
    Config > Product type > General > Show Quantity in Stock = 1
    Config > Stock > Show Quantity in Stock > true


    Click image for larger version. 

Name:	attribute1.jpg 
Views:	18 
Size:	14.2 KB 
ID:	17360
    Sync'ed a few times already but still not showing

    Anyone could give me some tips on where should i start looking? Thank you!

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

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Quote Originally Posted by thymine View Post
    Hi all,

    I am new to 1.55e, just did a fresh install and i cant seems to find the option to display stock level on the attribute
    Click image for larger version. 

Name:	attribute.png 
Views:	30 
Size:	129.1 KB 
ID:	17359

    Already did the options for
    Config > Product type > General > Show Quantity in Stock = 1
    Config > Stock > Show Quantity in Stock > true


    Click image for larger version. 

Name:	attribute1.jpg 
Views:	18 
Size:	14.2 KB 
ID:	17360
    Sync'ed a few times already but still not showing

    Anyone could give me some tips on where should i start looking? Thank you!
    For single attribute product/option names like shown above, the option name type needs to be modified to the newly added (new to your ZC) SBA Basic select (dropdown) either through the option name manager or thanks to the support of fbroz through one of the two scripts in the configuration section.

    If that has already been done, there should also be a setting in configuration->Stock: SBA Show Stock Level on Product Info Page which is really the option of concern because it operates independent of the display of the total product count.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #2829
    Join Date
    Jun 2016
    Posts
    20
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Quote Originally Posted by mc12345678 View Post
    For single attribute product/option names like shown above, the option name type needs to be modified to the newly added (new to your ZC) SBA Basic select (dropdown) either through the option name manager or thanks to the support of fbroz through one of the two scripts in the configuration section.

    If that has already been done, there should also be a setting in configuration->Stock: SBA Show Stock Level on Product Info Page which is really the option of concern because it operates independent of the display of the total product count.
    Thank you MC, you solved my problem! Yes the SBA Basic select (dropdown)!!

  10. #2830
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    This affects a "limited" group meeting the following conditions:
    1. Software downloaded from the master branch of the github repository at https://github.com/mc12345678/Stock_...butes_Combined
    2. obtained between Jul 28th, 2017 and Oct 15th, 2017.
    3. Product is tracked by SBA and has only one option name (attribute).
    4. one or more option values (variant) is out-of-stock.

    The condition observed is that when looking at the product info page, the list of attribute options contains some random like information such as the same option value listed more than once some with the out-of-stock notification some without, blank squares/selections, etc...

    Specific resolution to this is to update the includes/classes/observers/class.products_with_attributes_stock.php file; however, there have also been some additional enhancements to the admin side. Basically the recommendation would be to update the includesand admin/includes files that are not template or version specific related.

    The current commit leading to what would also be at the master thread right now is: https://github.com/mc12345678/Stock_...9a50e8a56750f2.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Problems with addon: Dynamic Drop Downs for Stock By Attribute
    By Dunk in forum All Other Contributions/Addons
    Replies: 56
    Last Post: 30 Apr 2014, 07:55 PM
  2. MySQL Problem with Product with Attribute Stock addon
    By rtwingfield in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 20 Sep 2011, 03:35 PM
  3. Hide Zero Quantity Attributes with attribute-stock addon
    By leevil123 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 11 Feb 2010, 05:06 PM
  4. Replies: 4
    Last Post: 22 Jan 2010, 10:43 PM
  5. Price Products in the grid by 'Stock by Attribute' addon?
    By Salixia in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 27 Oct 2009, 06:03 PM

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