Products     Magento Extension     PCI-Shopping-Carts     Templates       CRELoaded     WordPress Modules     osCommerce Modules       osCommerce Addons       osCommerce Features       osCommerce Management       Payment Modules     CRELoaded Modules       CRE Loaded Addons       CRE Loaded Features       CRE Loaded Management       Payment Modules       CRELoaded Services
Free Stuff
Customization
Templates
Compare Products
You have no items to compare.
Affiliate Info
Affiliate Program FAQ
Affiliate Log In
Recent Orders
Hot Keywords: Order Notification, Order Search, Coupon, Flash Board, Compare, Floating Message, Tracking, Moneris, RSS, Visitor Filter

  Multiple Sales Per Product

The following osCommerce contribution is a free Opensource code originated from official osCommerce website and provided for your reference only, you may download the original contribution file(s) and install it on your own; or you may request a Paid Installation Service from Agents Of Power; Agents Of Power does the "AS IS" installation on your website, we do not guarantee it will work properly on your website. Extra Paid service is available for repairing the problem from the original contribution or from your website.
After adding a step for the catalog/specials.php file to ensure that the correct price was displayed I realized that the query could then be simplified somewhat so it should run a bit faster. Only step 18b of the instructions has changed.

Complete package attached.
I discovered that the specials.php and product_listing.php files were still not always displaying the correct price and so have added a line to the install for each of those two file.

Complete install attached only steps 13 and 18 have changed. If you have already installed this contribution you need only follow steps 13b and 18a to correct the problem.
Fixed a bug in the sale_prices.php file. When searching for a different product if only one match was found it didn't correctly switch to that product. Also fixed finding multiple instances of the same product when products exist in more than one category.

Major changes have been made to the installation instructions for the catalog/index.php, catalog/advanced_search_results.php, catalog/includes/classes/split_page_results.php and catalog/includes/modules/product_listing.php files. As originally written the SQL queries worked fine on our test site with only a few products and sale prices. However on our actual web site with over 11,000 different products and almost 3,600 defined sale prices the queries slowed the web site down tremendously. As originally written the queries sorted the entire list of sale prices every time a category was accessed or a search was made. The rewritten queries in the updated instructions now only sort the matching results and therefore work MUCH faster. If you have already installed this contribution I highly recommend that you change your install using the new instructions.

Added an instruction for those using the Dynamic Sitemaps with XML Sitemaps contribution to correctly generate the XML site map for specials.

Complete package attached. Only the instructions and the admin/sale_prices.php files have changed.
Our store often sets up sale prices several months in advance due to the lead time for the magazines in which we advertise. Many times the same products are repeated from ad to ad but the sale price changes. Since osCommerce as written only allows one sale price per product but has the potential to set more than one since sale prices are in their own file linked to the products I decided to see about writing my own contribution to allow sales to be set in advance and activated automatically at the proper time.

This contribution also allows you to create named sales. The names can be anything you like such as "July Magazine Ad" or "April 15 Newspaper Ad" or "Summer Sale Flyer" or whatever else you like. Each named sale will have its own beginning and ending dates which can overlap if you like. When you create a new sale for a product and associate it with an named sale the product sale will automatically take its beginning and ending dates from the named sale so you won't need to enter those again. On the catalog side specials.php the user will now be able to choose which sale items to view, whether all items on sale, items on sale that aren't associated with a named sale, or only items that are part of a specific named sale.

I’ve modified the stock osCommerce specials maintenance just enough to allow for the new beginning date and named sale features but focused my attention on writing a new sale price entry file that focuses on products. Only those sales for the focal product are listed. You can choose different products using either an advanced search or a drop down list of all products. One button click will return you to category/product maintenance with the current focal product selected. I've also added a button in the product information info box of categories.php to take you directly to sale maintenance for that product. This could make life easier since the stock osCommerce specials maintenance provides no way to search for the sale information for a specific product.
   Posted on: 08/18/2009     See contribution details Request Installation with Paid service