Page 19 of 360 FirstFirst ... 917181920212969119 ... LastLast
Results 181 to 190 of 3592
  1. #181
    Join Date
    Oct 2006
    Posts
    209
    Plugin Contributions
    0

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

    we are currently trying to work on a solution that will use DHTML.

    We'll keep everybody updated.

  2. #182
    Join Date
    Nov 2006
    Location
    Columbus, OH
    Posts
    20
    Plugin Contributions
    0

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

    This really isn't a feature request, but more of a "Is this possible?" question.

    Say I have an attribute called 6.5 (for size 6.5) and a linked category called 6.5.

    Is it possible to modify the product listing SQL such that it will only list products in category 6.5 where the stock by attribute quantity for 6.5 is greater than 0?

    It seems simple enough, but i'm not too familiar with the Zen core functionality.

    Any help or suggestions would be greatly appreciated. Thanks!

  3. #183
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

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

    I am so confused by this mod...

    I don't have all the stock levels entered yet and on some items if you try to order it, it tells you it's out of stock, on other's it doesn't say anything.

    example 1
    small= 1
    large=2

    so someone tries to order a medium (which isn't entered in yet), and sometimes the cart will let them checkout, other times it will say it's out of stock.

    Doesn't make sense to me that it isn't doing the same thing everytime for every item.

  4. #184
    Join Date
    Jan 2006
    Location
    Australia
    Posts
    330
    Plugin Contributions
    0

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

    Quote Originally Posted by kuroi View Post
    You say that you are running Zen Cart 1.3.7 but not which version of the addon you are running.

    Also do any of that long list of addons that you have also change any of the following files:
    * admin/orders.php
    * admin/includes/stylesheet.css
    * includes/classes/order.php
    * includes/functions/functions_lookups.php
    * includes/modules/pages/checkout_shipping/header_php.php
    * includes/modules/pages/shopping_cart/header_php.php
    If so, did you merge both sets of changes into the core Zen Cart, or overwite one set with another?
    Thanks for your reply Kuroi.

    I have uninstalled the mod for the moment as it was causing me quite a few headaches but do think it is a great mod to have and if I could get it to work properly, would have it back up in flash.

    I have double checked all of these file and found that the "includes/classes/order.php" is the only file that has had changes to the original).

    I have attached all includes/classes/order.php files from 1. server, 2. original 1.3.7 and 3. SBA 4.4 (I have renamed them in the zip to identify files easily

    File refs in zip!

    order_on_server.php - file currently on the server, which is not the mod file or orginal file. Must have come from a different mod, not sure which one, but the changes note that you had something to do with it

    order_original137.php - is obviously the original from the latest version of zen

    order_sba.php - is the one from Stock_By_Attribute 4.4 version

    I don't know a great deal about code and wouldn't know if any of these changes in the file would make the mod fall over. If you or someone wouldn't mind having a little look and compare, I would much appreciate it.

    The code changes are in 2 sections of the file order_sba.php located around lines 694 (section 1) and 747 (section 2)

    TIA and much appreciate any help!!
    Attached Files Attached Files

  5. #185
    Join Date
    Jan 2007
    Posts
    48
    Plugin Contributions
    0

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

    Hi im in need of a little help again

    I want to take the weight off the drop down menu so customers cant see it.
    Here is what i mean:
    http://www.thefishkrib.com/ima.jpg

    Its easier to show you a picture.

    Thanks for your help.


  6. #186
    Join Date
    Mar 2005
    Location
    Helsinki
    Posts
    570
    Plugin Contributions
    0

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

    So I have following attributes fex. "small white", "medium black" and then we have different attributes for shippings fex. EU, Asia, Usa. We do not want to use shipping modules at all (btw is there a way to remove the whole page from checkout..?) and we want to display full prices including shippings with every product. So is there a way to use this mod with the size attributes only.. since now I need to set up like "small white" + Asia =qty which is totally absurd and doesn't obviously work in the long run.. many thanks

  7. #187
    Join Date
    Apr 2007
    Posts
    1
    Plugin Contributions
    0

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

    I am running 1.3.7 and installed this and ran the query but I get

    Fatal error: Call to undefined function zen_get_index_filters_directory() in /store/includes/modules/pages/index/header_php.php on line 49

    How do I fix this?

  8. #188
    Join Date
    Apr 2007
    Posts
    35
    Plugin Contributions
    0

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

    I just installed this Mod and seeing one issue. I tried searching this forum but can't find an answer.

    I have one attribute 'size' for all of my products as radio button. When I add a product to the Cart it does not require the 'size' option to be chosen and thus I'm able to add a product to the Cart without size. How do I make the size attribute as required. I tried the Attribute flag 'required for text' but it did not work.

    Any help on this would be great

  9. #189
    Join Date
    May 2006
    Posts
    310
    Plugin Contributions
    0

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

    Quote Originally Posted by intref View Post
    How do I make the size attribute as required.
    I don't know if is possible to make the attribute required, but you can force one of them to be "selected" which should cue your customers to select the appropriate value.

    You may accomplish this by selecting or flagging one of the sizes (I recommend M) as the "default" value in your attributes controller.
    Live again! http://spritelygoods.com Rebuilt on ZC v 1.5.1 from 1.3.0.2

  10. #190
    Join Date
    Sep 2004
    Location
    Australia
    Posts
    347
    Plugin Contributions
    0

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

    I am having trouble with this bit. I found the section of code and simply copied and pasted. But I get an error when I go to my site. I have removed it for the time being. I didn't think to copy the error message but it was something about line 501.

    Quote Originally Posted by tbrides View Post

    - 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;
      } 
    I've done everything else though. Would there be any problems if I don't undo what I've done without the html_output.php file?

    Thank you.

 

 

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