Page 26 of 359 FirstFirst ... 1624252627283676126 ... LastLast
Results 251 to 260 of 3589
  1. #251
    Join Date
    May 2007
    Location
    Leicester, England
    Posts
    165
    Plugin Contributions
    1

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

    kuroi

    That was a fantastically fast response.

    I know that I have extensively hacked the css (although I am not an expert in css: most of my css hacks are the result of divine intervention or trial-and-error), and I felt that this might be the source/cause of the problem.

    I use SeaFox as my main browser, and haven't tested the site in IE - or any other browser for that matter. I can't get a response anywhere on the button in my browser. I have tried to bring the button 'forward' by giving the div a big 'z' value in the css, but that didn't seem to work. I'll try restricting its width, but many many thanks for this insight. I was beginning to despair, because I have spent (literally, honestly) months working on the store. I'll report back soon

    Secondary question - I initially included my products in secondary/linked categories, primarily for the size of my products, btu got realy weird results due to what ajeh said was a bug due to be fixed in 1.3.8. Unfortunately, because size is included as an attribute (in most cases) the search funsction doesn't find the size. Are there, to your knowledge, any improved 'search' modules - I've looked and looked but can't see anything.

  2. #252
    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

    @blag

    z-index only works on elements that have been positioned (e.g. have styles like position:absolute).

    I'm not aware of any other search modules. This post from a few hours ago about how to create a custom search, will probably give a big clue as to why.
    Kuroi Web Design and Development | Twitter

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

  3. #253
    Join Date
    May 2007
    Location
    Leicester, England
    Posts
    165
    Plugin Contributions
    1

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

    kuroi

    Thanks for the insight on custom searches!

    I am really struggling to find which div is overlapping, because I can't see the overlap or a graphical 'representation' of the div!!

    Are you able to determine (somehow or other) which div is causing the overlap? If so I would really apprecaite it
    a) if you could advise which div it is, and
    b) how you are able to determine this?

    TIA

  4. #254
    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

    You actually have three elements extending right the way across: the productAttributes DIV and inside that the h3 tag and the WrapperAttribsOptions DIVs.

    Three way to identify these, and they're all extensions to Firefox: CSS Viewer which lets you move round a page, giving you details of the elements that you're hovering over, the outline facility in the web developer extension and the inspect function in the firebug extension (my favourite). The web developer toolbar for Internet Explorer also has both outline find by click functions which would highlight this and the WebDev toolkit that can be used by those prefering Safari. There's also a web developer equivalent for Opera, but I haven't used that for a few months, so can't remember what facilities it has.
    Kuroi Web Design and Development | Twitter

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

  5. #255
    Join Date
    May 2007
    Location
    Leicester, England
    Posts
    165
    Plugin Contributions
    1

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

    kuroi

    Ho-hum!! Specifying the width of the productAttributes DIV did the job. Thank you SO much - brilliant sleuthing by you.

    I think it would have taken me several months of Sundays to figure that one out, and thanks for the additional info on tools to assist in identifying the overlaps etc. I have found and successfully installed a similar one for my browser!!

    First class, and give yourself a HUGE pat on the back!!

  6. #256
    Join Date
    May 2007
    Location
    Leicester, England
    Posts
    165
    Plugin Contributions
    1

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

    kuroi

    Just thought I'd let you know - I found a problem with specifying the width of the productAttributes DIV, so I've 'positioned' the productAttributes DIV removed the width restriction and gave the div a 'z' value, and, of course, similarly, gave the addcart DIV a greater 'z' value so that the button 'floats' over the other DIVS!

  7. #257
    Join Date
    Aug 2007
    Posts
    29
    Plugin Contributions
    0

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

    For some reazon E cannot Delete Variant's in stock by attribute latest version

    The page asking for confirmation appears, and I press YES to confirm, when it returns to first page the variation is still there

    The only remedy for my is to go to phpmyadmin and delete it directly from the DB table.
    Using:

    Zen Cart 1.3.7.1
    Database Patch Level: 1.3.7.1
    One Attribut per product
    and IE. 7.0

    Any ideas?

  8. #258
    Join Date
    Mar 2005
    Location
    Helsinki
    Posts
    570
    Plugin Contributions
    0

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

    Sorry if this is asked before. I tried but couldnt find any answer.. So I'd need to automatically remove attributes (size) from the product page dropdowns if the size is soldout... or atleast display sold out if attribute is out of stock.
    is it possible?

  9. #259
    Join Date
    Oct 2006
    Posts
    209
    Plugin Contributions
    0

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

    hi,

    that is only possible if you have one attribute on a product. it will not work if its more than one.
    there's a solution somewhere.

    I've heard that attributes will be sorted in v 1.4

  10. #260
    Join Date
    Mar 2005
    Location
    Helsinki
    Posts
    570
    Plugin Contributions
    0

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

    Quote Originally Posted by tbrides View Post
    Hello,

    I've a solution for adding Sold Out on the attribute if the stock of it is 0.
    It works for dropdown boxes, radio buttons and checkboxes.

    I've modified kuroi's attributes.php file, adding the suggestions of other people and figuring it out for dropdowns.

    - First you need to add this to:
    includes\languages\english\custom\product_info.php

    if product_info.php is not there it will be in
    includes\languages\english\product_info.php

    Once you have added the below move the file to your custom directory

    PHP Code:
    define('TEXT_ATTRIBUTES_NOT_IN_STOCK',' Sold Out'); 

    - I've changed the function "function zen_draw_pull_down_menu" in includes\functions\html_output.php


    PHP Code:
    function zen_draw_pull_down_menu($name$values$default ''$parameters ''$required false) {
        
    $field '<select name="' zen_output_string($name) . '"';
        
    $soldout "";
        if (
    zen_not_null($parameters)) $field .= ' ' $parameters;

        
    $field .= '>' "\n";

        if (empty(
    $default) && isset($GLOBALS[$name])) $default stripslashes($GLOBALS[$name]);

        for (
    $i=0$n=sizeof($values); $i<$n$i++) {
        
    /* Added by TB on 16/2/2007 */
        /*need to check if Sold Out occurs in the option tag for the dropdown*/
        
    if(strpos($values[$i]['text'], "Sold Out")) $soldout 'class ="red bold"';
        else 
    $soldout "";
          
    $field .= '  <option '.$soldout.' value="' zen_output_string($values[$i]['id']) . '"';
          if (
    $default == $values[$i]['id']) {
            
    $field .= ' selected="selected"';
          }

          
    $field .= '>' zen_output_string($values[$i]['text'], array('"' => '&quot;''\'' => ''', '<' => '&lt;', '>' => '&gt;')) . '</option>' . "\n";
        }
        $field .= '
    </select>' . "\n";

        if ($required == true) $field .= TEXT_FIELD_REQUIRED;

        return $field;
      } 

    - Then I modified kuroi's attributes.php file. Located in
    includes\modules\custom\attributes.php.
    See attached. Rename your old one to something like attributes.php-old and upload this one.

    - Then I added the class .red to my stylesheet, which just sets color:red

    If anybody cares to try this in a test environment for me after they have installed the stock by attributes module.
    Please let me know how it goes. It should work, works for me, but no guarantees.

    Ok I've tried this like a million times and can't get it to work..


    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/ctr/public_html/store/includes/functions/html_output.php on line 510

 

 

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