Contributions

Features (Category Index)
Search: 

Holiday Special

Holiday Special (Yasumi = rest day in Japanese)

This is a very simple piece of code that adds a Special Box on the left Hand Side of the Page, A special Page on the Site to describe a Special Offer, and a link back from the Special Page to a special product. The idea is to run a Xmas special or something that needs to be switched on and off easily.

When you switch the special 'Yasumi' product from ‘out of stock’ to ‘in stock’ it will automatically turn on the left hand box and the special page plus add the product to the search engine. When you turn it off, the opposite happens. The Yasumi box and the Yasumi page can show more or less anything including special graphics, pictures, Father Xmas etc.

To activate, you just need to link one of your products to the offer. To do this, you must determine the products_id of the special product (e.g. 147 in my example) from the products table in your database and update the line in application_top.php below. Someone may want to pick up this idea and make it more user friendly!


Regards

Ian Davidson
www.nowsayit.com

Expand All / Collapse All

Holiday Special Ian Davidson 14 Jul 2002

Holiday Special (Yasumi = rest day in Japanese)

This is a very simple piece of code that adds a Special Box on the left Hand Side of the Page, A special Page on the Site to describe a Special Offer, and a link back from the Special Page to a special product. The idea is to run a Xmas special or something that needs to be switched on and off easily.

When you switch the special 'Yasumi' product from ‘out of stock’ to ‘in stock’ it will automatically turn on the left hand box and the special page plus add the product to the search engine. When you turn it off, the opposite happens. The Yasumi box and the Yasumi page can show more or less anything including special graphics, pictures, Father Xmas etc.

To activate, you just need to link one of your products to the offer. To do this, you must determine the products_id of the special product (e.g. 147 in my example) from the products table in your database and update the line in application_top.php below. Someone may want to pick up this idea and make it more user friendly!


Regards

Ian Davidson
www.nowsayit.com

Note: Contributions are used at own risk.