Contributions
New Products Box Mod
New Products Mod for 2.2 MS1
-----------------------------
This is my first contri to the OsC Community, so if you are using this mod, please give me feedback on it.
It should work on older distributions of OsC aswell.
By default, OsCommerce shows the latest added items as new items both on the startpage and on the category pages.
The box says ex. "New products in May" wich might be the case if you added those items in May.
But the default version of OsC does not handle when to remove these items from the "New products in.." box.
If you are not frequently adding new items to your shop, this looks pretty silly after a while, since the products
lay there all the time.
This Mod lets lets you choose for how long newly added items should be shown in the "New products in.." box.
Default is 30 days, but it can be changed to that ever you like. Se Installation below for details.
If there are no new items in the last 30 days (default) the box will not show at all.
The script works in the same way in categories with sub categories.
Installation of the script is very straightforward, but remember to BACKUP the relevant files before you change anything.
Enjoy!
Please give me feedback on this script by sending me an email to: zipper@smartsite.nu
Regards
Henrik Algmark AKA. Zipper
Sweden
Expand All / Collapse All
This contribution fix the problem for word-wrapping-input made with the keyboard in the product-description (Admin).
Input of <br> or <p> in the description no longer needed.
New Products Mod Ver2,0 for 2.2 MS1
-----------------------------
This is my first contri to the OsC Community, so if you are using this mod, please give me feedback on it.
It should work on older distributions of OsC aswell.
By default, OsCommerce shows the latest added products as new items both on the startpage and on the category pages.
The box says ex. "New products in May" witch might be the case if you added those products in for example, May.
But the default version of OsC does not handle when to remove these products from the "New products in.." box.
If you are not frequently adding new products to your shop, this looks pretty silly after a while, since the products
lay there all the time.
This Mod lets you choose for how long newly added products should appear in the "New products in.." box.
Default is 30 days, but it can be changed to that ever you like. Se Installation below for details.
From version 2,0 you can choose if the box should disappear completely when no new products has been added in the chosen amount of days,
or if the box should still be shown, but with a text showing "No new products this month".
The text in the box can easily be changed from within new_products.php.
If there are no new items in the last 30 days (default) the box will not show at all.
The script works in the same way in categories with sub categories.
Installation of the script is very straightforward, but remember to BACKUP the relevant files before you change anything.
Enjoy!
Please give me feedback on this script by sending me an email to: zipper@smartsite.nu
Regards
Henrik Algmark AKA. Zipper
Sweden
The script shows the producto page info knowing their model code instead their id.
I use it because product_info.php only search a product knowing their internal (catalog) id. My customers (and me) normally don't know this id.
For example, when a customer call me asking for a product, I tell to him o her the URL where they could look at. To me and he (she) is more easy to remember the model or product code.
You can call it: http://yourdomain.com/catalog/go_product.php?products_model=XXXX
or using redirecting like http://yourdomain.com/prod?IBMKIT
More easy, isn't?
New Products Mod for 2.2 MS1
-----------------------------
This is my first contri to the OsC Community, so if you are using this mod, please give me feedback on it.
It should work on older distributions of OsC aswell.
By default, OsCommerce shows the latest added items as new items both on the startpage and on the category pages.
The box says ex. "New products in May" wich might be the case if you added those items in May.
But the default version of OsC does not handle when to remove these items from the "New products in.." box.
If you are not frequently adding new items to your shop, this looks pretty silly after a while, since the products
lay there all the time.
This Mod lets lets you choose for how long newly added items should be shown in the "New products in.." box.
Default is 30 days, but it can be changed to that ever you like. Se Installation below for details.
If there are no new items in the last 30 days (default) the box will not show at all.
The script works in the same way in categories with sub categories.
Installation of the script is very straightforward, but remember to BACKUP the relevant files before you change anything.
Enjoy!
Please give me feedback on this script by sending me an email to: zipper@smartsite.nu
Regards
Henrik Algmark AKA. Zipper
Sweden
Note: Contributions are used at own risk.