Contributions
Disable Add to cart button if stock 0 or price 0 and display Out Stock
FEATURES:
---------
1.- This contribution disable the button "Add to cart" or "Buy Now", for a product everywhere in the catalog,
when the stock of that product is 0, or the price of that product is 0,
and replace it by a button (without link) with the text: "Out Stock". (this contribution is multilanguage)
2.- Add the "Add to cart" / "Buy Now!" button for all places of catalog where appear a product but not have a Buy Now button: Module New products on month..., Whats new, Specials (column right) Specials (page with all specials)
and instructions to applied this modification to disable button Buy Now when quantity of this product are 0 or price are 0
DEMO:
-----
http://www.oscommerce-demo.com/demo01/
This contribution is based in "Display Out Of Stock Button" contribution created by Jean Gionet,
Added some corrections and multilanguage buttons, and intructions for applied for other files.
In this contribution add new feature that display the "Out Stock" button when price is 0.
Correct path of image buttons file
Added image buttons in english, spanish, german.
Change & Files affected by this modification:
--------------------------------------------
3/6 new buttons to upload
product_info.php <-- information page of product:
Disable the button when stock = 0 or price = 0.
And Display behind the product name: "In Stock" or "Out Stock" if that product havent stock.
Include instructions to add the contribution "Stock Display (Images or Text)"
http://www.oscommerce.com/community/contributions,968
with some modification for multilingual buttons.
This add 3 possibility: In Stock, limitate stock (can define a low stock) and Out of Stock.
include only for this file.
catalog/includes/modules/product_listing.php <-- list categories, subcategories, manuafacturers, search results
product_reviews.php <-- list reviews
product_reviews_info.php <-- review of product
product_reviews_write.php <-- write reviews page
catalog/product_new.php <-- List of New products (page)
The next files/pages no display "Add to cart" button,
this contribution include instructions to add a
"Add to cart" button to this files:
---------------------------------------------------
catalog/specials.php <-- List of Specials products (page)
catalog/includes/modules/new_products.php <-- Module "New products in month ...
catalog/includes/boxes/whats_new.php <-- Box in column left with one new product
catalog/includes/boxes/specials.php <-- Box in column right with one special
Include folder with files with modifications to upload to stores without modifications in files.
Include screenshots with examples.
Support forums in Spanish for osCommerce:
http://forums.oscommerce.com/index.php?showtopic=229053
-------
CARACTERISTICAS:
---------------
1.- Esta contribucion desabilita el boton "Aņadir a la cesta" / "Compre Ahora", en los productos en cualquier parte del catalogo,
cuando el stock de ese producto sea 0, o el precio de ese producto sea 0,
y sustituye ese boton por un boton (sin enlace) y con el texto: "Sin Stock". (para cada idioma)
2.- Aņade un boton "Aņadir a la cesta" / "Compre Ahora" en cualquier parte del catalogo donde aparezca un producto que no tenga ese boton: Modulo central de Nuevos productos en mes..., Novedad (columna izquierda), Ofertas (columna derecha), Ofertas (pagina que lista todas las ofertas),
e instrucciones para aplicar esta modificacion para desabilitar el boton de compra cuando la cantidad de producto sea 0 en stock, o el precio sea 0.
DEMO:
-----
http://www.oscommerce-demo.com/demo01/
Esta contribucion esta basada en la contribucion "Display Out Of Stock Button" creada por Jean Gionet,
Se le ha aņadido algunas correcciones y botones en varios idiomas, espaņol, ingles y aleman, e instrucciones para aplicar esa contribucion a otros archivos
y se le ha aņadido que muestre el boton "Sin Stock" (y sin enlace) cuando el precio del producto sea 0.
Correguido el path para los archivos de los botones.
Aņadido botones en ingles, espaņol y aleman.
Cambios & archivos mdoficados por esta contribucion:
---------------------------------------------------
3/6 nuevos botones para subir
product_info.php <-- pagina de informacion del producto:
Desabilita el boton si stock = 0 o el precio = 0.
Y muestra debajo del nombre del producto: "En Stock" or "Sin Stock" si ese producto no tiene stock.
Incluye instrucciones para aņadir la contribucion "Stock Display (Images or Text)"
http://www.oscommerce.com/community/contributions,968
con algunas modificaciones para tener botones segun el idioma que se vea el catalogo.
Con esta contribucion se aņaden 3 posibilidades: En Stock, Stock limitado (se puede definir una cantidad) y Agotado.
incluida solo para esta pagina.
catalog/includes/modules/product_listing.php <-- lista categorias, subcategorias, fabricantes, resultados de busquedas
product_reviews.php <-- lista de comentarios
product_reviews_info.php <-- comentarios de un producto
product_reviews_write.php <-- escribir un comentario, las tres paginas muestran el boton Aņadir a la cesta
catalog/product_new.php <-- pagina que muestra la lista de productos que son novedad
Los siguientes archivos /paginas no muestran el boton
"Aņadir a la cesta" o "Comprar Ahora",
esta contribucion incluye instrucciones para hacer que
se muestren tambien en esas paginas o modulos, y tambien
para desabilitarlos si stock = 0 o precio = 0:
---------------------------------------------------
catalog/specials.php <-- pagina con la lista de productos que estan en oferta
catalog/includes/modules/new_products.php <-- Modulo "Nuevos productos en mes..."
catalog/includes/boxes/whats_new.php <-- Caja de la columna izquierda que muestra una novedad aleatoria
catalog/includes/boxes/specials.php <-- Caja de la columna derecha que muestra una oferta aleatoria
Incluye carpeta con todos los archivos que modifica esta contribucion para poder subirlos y sustituir los de su tienda en caso de no haber hecho modificaciones en sus archivos.
Incluye imagenes de ejemplo en la carpeta screenshots
Foro de soporte (ingles) de esta contribucion:
http://forums.oscommerce.com/index.php?showtopic=229053
Foro de soporte en espaņol de esta contribucion:
http://foros.oscommerce-tutoriales.com/index.php/topic,102.0.html
Foros de soporte en espaņol de osCommerce:
http://oscommerce.qadram.com
| 26 Sep 2006 |
THE COMPLETE PACK: "Disable Add to cart button if stock 0 or price 0 and display Out Stock" of 22 sep 2006 is the complete pack
-----------------
THIS VERSION:
This pack is for stores with contribution "Individual boxes for products in central modules" installed
This zip include instructions to applied this contribution Disable Add to cart button is stock = 0 or price = 0 for products of modules:
New Products on month.. with individual boxes v1.1 installed
and
Specials products page with individual boxes v1.1 installed
Include files with modifications installed and screenshots
DEMO with individual boxes and Disable Add to cart if....:
http://www.oscommerce-demo.com/demo01/
support forum: http://forums.oscommerce.com/index.php?showtopic=229053
-----------------------------
EL PACK COMPLETO: "Disable Add to cart button if stock 0 or price 0 and display Out Stock" del 22 sep 2006
Este pack es para tiendas que tengan instalada la contribucion: "Individual boxes for products in central modules"
que crea cajas individuales para los productos
En esta version se indica como aplicar que se muestre la imagen Sin Stock para productos sin stock en vez del boton comprar
Incluye carpeta con archivos con modificaciones ya hechas, e imagenes de ejemplo.
Demo con individual boxes ... y Disable Add to cart...:
http://www.oscommerce-demo.com/demo01/
Note: Contributions are used at own risk.
