Page 17 of 113 FirstFirst ... 715161718192767 ... LastLast
Results 161 to 170 of 1125
  1. #161
    Join Date
    Apr 2006
    Posts
    121
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Thanks kuroi for pointing me to these posts. But I'm afraid this a little out of my league. I'm having trouble reading the code let alone editing it to fit my own needs.

    I'll give it a go but maybe Grayson is willing to help me out here.

  2. #162
    Join Date
    May 2005
    Posts
    535
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Kuroi

    Many thanks for yor reply. Using 1.2.7d at moment as Iam still testing the new version before going live. For the wrapping option for customers I am using a drop down for them to select the paper type so if there is a way to turn off this as being part of the stock by attribute table so that any product with gift wrap will work that would be great. Thank you for pointing out that text fields don't effect the table.

    This miighht be an option but would prefer a solution for wiorking with drop downs

    Regards

    MG

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

    Default Re: Stocks by attributes

    Quote Originally Posted by MikeyG
    would prefer a solution for wiorking with drop downs
    Understood. I believe that the specific posts in the archive thread to which Danielle was referring you above were a group starting from post #199, though I'm afriad that I haven't at them closely enough to see if they offer anything for your preferred approach.
    Kuroi Web Design and Development | Twitter

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

  4. #164
    Join Date
    May 2005
    Posts
    535
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    kuroi,

    many thanks sounds like exactly what I need just need to get hold of the code. Not too sure if seizer ever posted it. Have sent mail to see if it is available. Does any one else have this solution?

    Thanks in advance for all your help.

    Best wishes

    MG

  5. #165
    Join Date
    Apr 2006
    Location
    Labuan Island
    Posts
    361
    Plugin Contributions
    2

    Default Stocks by attributes

    Quote Originally Posted by pro_2k
    in the file "admin/products_with_attributes_stock.php" around line 416


    PHP Code:
    while(!$products->EOF)
    {
        echo 
    '<tr style="background: #ccc">'."\n";
        echo 
    '<td>'.$products->fields['products_id'].'</td>'
    change "background: #ccc" to your desired hex colour code

    see the attachment for and example of how it looks
    Attachment 656

    hope this helps!
    thank you very much, pro! that should do it... you are really pro!
    [FONT=Comic Sans MS]"Whether you think you can, or you think you can't... YOU ARE RIGHT."[/FONT]
    [FONT=Comic Sans MS]GOOD LUCK !!![/FONT]

  6. #166
    Join Date
    Sep 2006
    Posts
    19
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    the code that Grayson (http://www.zen-cart.com/forum/showth...=25987&page=11) posted refers to "includes/modules/pages/product_info/main_template_vars_attributes.php" I am assuming this is for an older version than I am running right now because I can't find that file. Is there a solution for 1.3.5? ultimately this (http://www.zencart.jadetrue.com/test...oduct-p-1.html) is what I would like.

    Thank you,

    -Jacob.

  7. #167
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Quote Originally Posted by surlyjake
    the code that Grayson (http://www.zen-cart.com/forum/showth...=25987&page=11) posted refers to "includes/modules/pages/product_info/main_template_vars_attributes.php" I am assuming this is for an older version than I am running right now because I can't find that file. Is there a solution for 1.3.5? ultimately this (http://www.zencart.jadetrue.com/test...oduct-p-1.html) is what I would like.

    Thank you,

    -Jacob.
    That file is there in 1.3.5 :) I got it to work on my 1.3.5 site following Grayson's directions, however, it only works if you only have one attribute, like on that site you posted the link to. If you have, for example, color and size seperately, it does not work.
    Danielle

  8. #168
    Join Date
    Sep 2006
    Posts
    19
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    thanks for the quick reply, but i cant even find it in the original zip for zencart 1.3.5. or for products with atributes v4.1 I'm probably missing something, any light?

  9. #169
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Oh my goodness, I'm so sorry, I should be in bed When I looked for the file, I looked in my live site, which is 1.2.6 lol. Sorry! In 1.3.5, the file you need to edit is includes/modules/attributes.php. The changes are exactly the same as Grayson's though :)
    Danielle

  10. #170
    Join Date
    Sep 2006
    Posts
    19
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    thanks again. I will say for the record that the "includes/languages/english/your_template/product_info.php" file is at "/store/includes/languages/english/product_info" in 1.3.5. Just one last question... what change do I make to allow dropdowns, or have it display
    "in stock" if qty>0 or
    "out of stock" if qty <=0
    instead of the actual inventory level.

 

 
Page 17 of 113 FirstFirst ... 715161718192767 ... LastLast

Similar Threads

  1. v139h Stocks of certain products disappearing automatically
    By Lowwi in forum General Questions
    Replies: 4
    Last Post: 11 Aug 2015, 09:09 PM
  2. Installing Stocks by Attribute
    By dragon03kf in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 26 Oct 2008, 07:42 PM
  3. Stocks by attributes
    By hcd888 in forum General Questions
    Replies: 1
    Last Post: 12 May 2008, 08:52 AM
  4. Multiple stocks per product
    By jaycode in forum General Questions
    Replies: 4
    Last Post: 5 Aug 2007, 11:55 AM
  5. Products with attribute stocks
    By Svanis in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 5 Jul 2006, 03:19 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