Page 54 of 359 FirstFirst ... 444525354555664104154 ... LastLast
Results 531 to 540 of 3586
  1. #531
    Join Date
    Apr 2008
    Location
    London
    Posts
    596
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Using 1.3.8a and latest SbA and have a small error.

    Admin > catalog > products with attributes stock
    Click > 'Add quantity for product variant'
    Size (only attribute) - 'All'
    Quantity - Any number

    Hit 'Submit'

    I then get this error:
    att: 41|42|43|44|45|46

    Warning: Cannot modify header information - headers already sent by (output started at /home/path/to/products_with_attributes_stock.php:193) in /home/path/to/admin/includes/functions/general.php on line 21

    Line 193 - echo "att: $attributes<bR>\n";
    Line 21 - header('Location: ' . $url);

    I thought maybe the R in bR was wrong (line break?) but changing it made no difference.

    Thing is, although this error occurs hitting back button and accessing 'Admin > catalog > products with attributes stock' again shows the options updated correctly.

    Other than that everything works perfect.

    Any suggestions to get rid of the error before I show to the client?

  2. #532
    Join Date
    Apr 2008
    Location
    London
    Posts
    596
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Just as an update ...
    I think the error might be caused by the fact that I have an attribute:
    'Size: Select Size:' <- This attribute is read only but still gets assigned a stock level.

    Just a thought.

  3. #533
    Join Date
    Aug 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    I just want to say how good i have found this mod but only problem i have is updating the stock levels.
    I have seen question about not being able to update than quantity a time.
    I am now currently writing my first mod to be able to mass update quantity and stock attributes.
    I have not writing a mod before so am asking for best advice how to go about it.
    I know that this feature will be incorporated in new version of Zencart but I need this now as I sell stock more that 1 venue and have to update stock regularly.
    Any help and advice would appreciated.
    Once done I will gladly upload for all to use.

  4. #534
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Quote Originally Posted by jdimaging View Post
    I am trying to do my first custom adon and when I import in the mysql file into phpmyadmin it is naming the table using the database name (c-Panel), not just zen_ and therefore I am getting this error.

    1146 Table 'sabrina_zc1.zen_products_with_attributes_stock' doesn't exist
    in:
    [select * from zen_products_with_attributes_stock where products_id="7"]
    It's absolutely normal for the database name to be used as well as the table name, otherwise your MySQL server would be unable to differentiate between Zen Carts on the same server.

    The problem would be either than your configure files point to a non-existent database (which seems unlikely) or that you didn't edit your database prefix into the installation SQL before running it as per the installation instructions, so that the table has been created with the wrong name. You will be able to see and correct this via phpMyAdmin.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #535
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Quote Originally Posted by bigbadboy View Post
    Using 1.3.8a and latest SbA and have a small error.

    Admin > catalog > products with attributes stock
    Click > 'Add quantity for product variant'
    Size (only attribute) - 'All'
    Quantity - Any number

    Hit 'Submit'

    I then get this error:
    att: 41|42|43|44|45|46

    Warning: Cannot modify header information - headers already sent by (output started at /home/path/to/products_with_attributes_stock.php:193) in /home/path/to/admin/includes/functions/general.php on line 21
    Answered a little earlier in this thread.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #536
    Join Date
    Apr 2008
    Location
    London
    Posts
    596
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    thanks kuroi I missed that reply.

  7. #537
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Quote Originally Posted by bigbadboy View Post
    thanks kuroi I missed that reply.
    Easy to do given the length of the thread. I find that searching via Google on error messages is a quick way of cutting through the tons of info to finding answers when there are error messages.

    The trick is to identify information that is specific to the problem, but not your setup. In this case the following search string would take you there very quickly
    site:zen-cart.com products_with_attributes_stock.php:193
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  8. #538
    Join Date
    Nov 2007
    Location
    Los Angeles, CA
    Posts
    1
    Plugin Contributions
    0

    help question Re: Stock by Attribute v4.0: Hide Out-of-Stock Items

    I was hoping there was a simple solution to what I hope is a simple problem.

    1. "Stock by Attribute" module is installed and working fine on a Zen-Cart clothing store site.
    2. We'd like it if a products out-of-stock options were not displayed on the product page -- we'd like the customer to not see a temporarily out of stock option listed.


    I believe the option stock check would happen during the option array formation.

    Any suggestions would be very appreciated!

  9. #539
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Stock by Attribute v4.0: Hide Out-of-Stock Items

    Quote Originally Posted by InternetKev View Post
    [*]We'd like it if a products out-of-stock options were not displayed on the product page -- we'd like the customer to not see a temporarily out of stock option listed.
    What settings do you have on your Admin > Configuration > Stock page?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  10. #540
    Join Date
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Thanks for a great mod!

    I'm using drop downs for my attributes, in this case 4 options for different coloured card.
    If one particular colour of card is out of stock is it possible to display this next to the attribute in the drop down menu, eg:

    Please Select Your Colour
    Red
    Orange (OUT OF STOCK)
    Green
    Pink

    Thanks in advance!

    Dunc

 

 

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