Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    967
    Plugin Contributions
    0

    Default Show Ships From Manufacturer, vs Not In Stock?

    zen 210 and php8.3
    i would like to modify this code
    Code:
    <?php  if ($flagAnyOutOfStock) { ?>
        <?php if (STOCK_ALLOW_CHECKOUT == 'true') {  ?>
          <div class="messageStackError alert alert-danger"><?php echo OUT_OF_STOCK_CAN_CHECKOUT; ?></div>
        <?php } else { ?>
          <div class="messageStackError alert alert-danger"><?php echo OUT_OF_STOCK_CANT_CHECKOUT; ?></div>
        <?php } //endif STOCK_ALLOW_CHECKOUT ?>
      <?php  } //endif flagAnyOutOfStock ?>
    i would like 3 options to show when a product is in stock, not in stock and when there is stock and not in stock in the cart and to say this
    1. stock would say ships from Our warehouse
    2. Non stock would say SHIPS DIRECT FROM MANUFACTURER - Usually ships within 3-5 business days
    3. stock and non stock in the cart would say (havent figured out the saying yet on that one yet.
    right now it only shows when not in stock i want it to show for in stock as well

  2. #2
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,814
    Plugin Contributions
    31

    Default Re: Show Ships From Manufacturer, vs Not In Stock?

    install POSM and you can have multiple out of stock messages.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  3. #3
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    967
    Plugin Contributions
    0

    Default Re: Show Ships From Manufacturer, vs Not In Stock?

    i thought i can only use that for products with attributes, and not a stand alone product?

  4. #4
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,814
    Plugin Contributions
    31

    Default Re: Show Ships From Manufacturer, vs Not In Stock?

    There are hooks in it to enable it to be expanded to include simple products.

    https://github.com/zencart/zencart/issues/7229

    I hacked into it long ago and have not gotten around to reworking my modifications.

    In my opinion the stock messages should be a core feature.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

 

 

Similar Threads

  1. do not show Manufacturer in Product info
    By chg2winter in forum General Questions
    Replies: 3
    Last Post: 9 Aug 2008, 10:27 AM
  2. Items which attributes are not in stock, don't show
    By Virogenesis in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 19 Sep 2007, 06:47 PM
  3. Do not want to show stock level
    By mredellis in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 21 Jun 2007, 12:06 AM
  4. Remove In stock Qty and Manufacturer info from Product info?
    By this side up in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Dec 2006, 07:59 AM
  5. New product not to show out of stock products
    By gardengate in forum Basic Configuration
    Replies: 0
    Last Post: 11 Sep 2006, 02:53 PM

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