Page 127 of 360 FirstFirst ... 2777117125126127128129137177227 ... LastLast
Results 1,261 to 1,270 of 3592
  1. #1261
    Join Date
    Aug 2009
    Location
    Canada
    Posts
    42
    Plugin Contributions
    0

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

    Oh, and warning displays for the product WITH attribute if I place order HIGHER than TOTAL NUMBER of the product available (say Product A has 1 Small, 2 Medium, 3 Large = 6 TOTAL NUMBER)

    Please help!!

  2. #1262
    Join Date
    Jun 2011
    Location
    California
    Posts
    63
    Plugin Contributions
    0

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

    ZEN 1.3.9h stock_by_attributes_1.4.13

    I installed this mod on a test store and it works fine.
    Then i installed on a live store and now i can't login to admin panel. Also this live store has the MOD ADMIN PROFILE installed.
    This has to be the problem.

    Has anybody had the some problem?
    and how did you fix it.

    In the mean time i think ill install admin profiles on my test site and see if it crashs it

  3. #1263
    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+

    If you think it's an Admin Profiles problem, then the support thread for that mod would be a more appropriate place to post.

    Seems unlikely though, as Admin Profiles doesn't get involved until after you've logged in. More likely (especially if AP was working before) would be that one or more of the Stock by Attributes files has ended up in the wrong place, has the wrong permissions for your server, or has gotten corrupted preventing pages from launching properly.

    That's a bit speculative though, as you haven't really explained in what way you're being prevented from logging in, so there's not a whole lot to go with here.
    Kuroi Web Design and Development | Twitter

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

  4. #1264
    Join Date
    Jun 2011
    Location
    California
    Posts
    63
    Plugin Contributions
    0

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

    What i mean by not loging in the page can't be found when trying to login to admin page

  5. #1265
    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+

    Very difficult to see how either of the mods named could cause this, but let's try. What's the URL in the browser bar when you get the page not found message?
    Kuroi Web Design and Development | Twitter

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

  6. #1266
    Join Date
    Jun 2011
    Location
    California
    Posts
    63
    Plugin Contributions
    0

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

    Quote Originally Posted by kuroi View Post
    Very difficult to see how either of the mods named could cause this, but let's try. What's the URL in the browser bar when you get the page not found message?
    Webstar59
    The url is to the admin folder domain/adminfolder/login.php
    or domain/adminfolder/index.php or just domain/adminfolder/
    can't be found. Im going to do some test on my test store first
    and if it works then may I did put a file in the wrong place. your MOD works fine on my test site now but will see what happens when i install admin profile MOD I know this mod has nothing to do with this thread just thought somebody here had the same problem.

  7. #1267
    Join Date
    Jun 2011
    Location
    California
    Posts
    63
    Plugin Contributions
    0

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

    Quote Originally Posted by webstar59 View Post
    Webstar59
    The url is to the admin folder domain/adminfolder/login.php
    or domain/adminfolder/index.php or just domain/adminfolder/
    can't be found. Im going to do some test on my test store first
    and if it works then may I did put a file in the wrong place. your MOD works fine on my test site now but will see what happens when i install admin profile MOD I know this mod has nothing to do with this thread just thought somebody here had the same problem.
    OK i just installed admin profiles mod and now i have the same problem. So the 2 mods don't like to run together. I go to the admin profile mod thread and see what i can find. If anything Ill dump the admin mod because we need stock by attributes

  8. #1268
    Join Date
    Jun 2011
    Location
    California
    Posts
    63
    Plugin Contributions
    0

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

    Clean install Zen-cart v1.3.9h
    stock_by_attributes_1-4-13

    I have the same problem as the user hostilerecords on page 14
    Their post was:

    I have installed it and then set up stock values for each attribute, however you can still checkout with variations which are out of stock, for example;

    Army Camo Jacket
    10 Total
    5 Medium
    5 Large

    I can't checkout with more than 10, thats fine.
    But I can checkout with 6 Medium.

    How can I Fix this?

    Stock config:
    Check stock level- True
    Subtract stock- True
    Allow Checkout- False
    Show stock when low- True
    ----------------------------------
    Webstar59 IS there a fix for this?

  9. #1269
    Join Date
    Jun 2011
    Posts
    91
    Plugin Contributions
    0

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

    Update the code in your header_php.php file with the fix on page 114 of this thread.

  10. #1270
    Join Date
    Jun 2011
    Location
    California
    Posts
    63
    Plugin Contributions
    0

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

    Quote Originally Posted by Pablo View Post
    Update the code in your header_php.php file with the fix on page 114 of this thread.
    I found this tip on some blog i forgot where.
    This fixed my problem. Credit gos to the bloger.
    Zen Cart - stock by attributes plugin bug
    I've found a couple of bugs with this, otherwise excellent, module:

    1. If you are not logged in Zen Cart will allow you to progress to the login page even if you have ignored the 'delete out-of-stock' products message on the shopping cart page. This may not seem a big deal, as you can't progress further, but from a user experience perspective it's definitely not ideal.
    2. If there is an out-of-stock product in your cart, all subsequent products you add will also be flagged as out-of-stock whether or not this is true.

    Fortunately both issues were easy to fix with a little digging.

    Issue 1 involves a modification to /includes/modules/pages/checkout_shipping/header_php.php.

    Simply move the block of code under
    // Stock Check
    until it is above the section beginning with

    // if the customer is not logged on, redirect them to the login page

    This will force the page to check for stock before redirecting to the login page.

    Issue 2 needs a small addition to
    /includes/modules/pages/shopping_cart/header_php.php

    Look for this section around line 59:

    Code:
    $flagAnyOutOfStock = false;
    
    
    $products = $_SESSION['cart']->get_products();
    for ($i=0, $n=sizeof($products); $i$n; $i++) {
    if (($i/2) == floor($i/2)) {
    Change it to read:

    Code:
    $products = $_SESSION['cart']->get_products();
    for ($i=0, $n=sizeof($products); $i$n; $i++) {
    $flagStockCheck = false;
    if (($i/2) == floor($i/2)) {
    This will force a reset of the flag for each iteration of the loop which builds the....

 

 

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