Jump to content

Search the Community

Showing results for tags 'offline'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News and Announcements
  • osCommerce Online Merchant v2.x
    • General Support
    • osCommerce Online Merchant Community Bootstrap Edition
    • Add-Ons
  • Development
  • General
    • General Discussions
    • Live Shop Reviews
    • Security
    • Developer Feedback
  • Club osC's Announcements
  • PayPal's Announcements
  • Sage Pay's Announcements
  • Solomono - new level osCommerce templates's Announcements
  • German Community's OSCOM v2.x
  • German Community's Allgemein

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Real Name


Location


Interests


Website

Found 2 results

  1. raiwa

    Store Mode BS

    Store Mode BS Complete recoded Add-On, 100% modularized, not any file changes. Inspired by: Store Mode (Open | Closed | Maintenance) and: Site Maintenance Status - All versions Maintenance page based on the page included there. Thanks to @@Demitry Installation: Upload new files and install one ht module and one content header module. How it works This add-on allows to switch your store to different closed/maintenance modes. It allows you to do installations, maintenance and checks, closing only the strict necessary areas of your store. Store modes: Online: Normal store mode Custom: Customizable group of pages. Default: product_reviews.php and product_reviews_write.php. Any group of pages can be defined. Customers will be redirected to the last visited page outside the restricted area or index.php. A temporary message will be shown only if a customer tries to access the restircted area. Checkout: By default all checkout pages are included in this group. Customers will be redirected to the last visited page outside the restricted area or shopping_cart.php. A permanent message will be shown on the shopping cart page and optional on the index page. An additional temporary message shows only if a customer tries to access the restircted area. Account: By default all checkout pages and account pages are included in this group. Customers will be redirected to the last visited page outside the restricted area or index.php. A permanent message will be shown on the shopping cart page and index page. An additional temporary message shows only if a customer tries to access the restircted area. Logged in customers will be logged off. Offline: Customers will be redirected by .htaccess rewrite rules to a standalone 503 maintenance page. The store administrators IP will be entered automatically in a configuration list. Additional administrators/developpers IPs can be added. These IPs are excluded from redirects in all the above listed Modes. Test Modes for all above listed modes are available which will only redirect the IP's included in the configuration list. This can be used to check the redirects and messages. Please give it a try for beta tests. Any error reports and suggestions are very welcome. Thanks and kind regards Rainer
  2. Hello, I've been looking but didn't find anything. I was looking for some addon or bit of code that set the status of product offline when it became out of stock instead showing a ribbon "out of stock" or at checkout the message that products marked are out of stock. I have some products low cost but with quantity limited, would be more friendly for customer dont saw the product instead of trying to buy it and later have to remove due the stock message. For example when adding to cart a verification after add to cart and then something like this: if (($stock_left < 1) { tep_db_query("update " . TABLE_PRODUCTS . " set products_status = '0' where products_id = '" . tep_get_prid($order->products[$i]['id']) . "'"); } So at the last stock it disables the product.. otherwise I can always do something like if ($product_info['products_quantity'] < 1) And output a message/disable add to cart button ..
×