osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Fast Easy Cross-Sell

This is a discussion on Fast Easy Cross-Sell within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Esta es un Traduccion al español de la Instalación de esta contribución, tomando como base la de fecha 24 Jul ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 05-20-2007, 07:13 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,329
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Fast Easy Cross-Sell

Esta es un Traduccion al español de la Instalación de esta contribución, tomando como base la de fecha 24 Jul 2006.

Esta es una Traducción y Guia de Instalacion para Fast_easy_cross_sell (Productos Relacionados)

Estas instrucciones estan basadas en la contribucion de Eagle1 del 24 Jul 2006
http://www.oscommerce.com/community/...search,related

------------------------------------------------------------------------
Paso 1 Hacer Respaldo de tu Tienda

------------------------------------------------------------------------
Paso 2 En tu panel de Control de Base de Datos deberas ejecutar la Consulta SQL del Archivo cross_sell.sql
que contiene:

DROP TABLE IF EXISTS `products_cross_sell`;
CREATE TABLE IF NOT EXISTS `products_cross_sell` (
`products_cross_sell_id` int(10) NOT NULL auto_increment,
`products_id` int(10) unsigned NOT NULL default '1',
`cross_sell_id` int(10) unsigned NOT NULL default '1',
`cross_sell_sort_order` int(10) unsigned NOT NULL default '1',
PRIMARY KEY (`products_cross_sell_id`)
) TYPE=MyISAM;


--------------------------------------------------------------------------
Paso 3 en admin/includes/database_tables.php al final antes del ?> agregar:

define('TABLE_PRODUCTS_CROSS_SELL','products_cross _sell');


--------------------------------------------------------------------------
Paso 4 en admin/includes/filenames.php al final antes del ?> agregar:

define('FILENAME_CROSS_SELL_PRODUCTS','cross_sell. php');


---------------------------------------------------------------------------
Paso 5 en admin/includes/boxes/catalog.php buscar:

'' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '
' .

y agregar:

//***
'' . BOX_CATALOG_CROSS_SELL_PRODUCTS . '
' .
//***


----------------------------------------------------------------------------
Paso 6 en admin/includes/languages/espanol.php

agregar al final antes de ?>:
//***
define('BOX_CATALOG_CROSS_SELL_PRODUCTS', 'Productos Relacionados');
//***



------------------------------------------------------------------------------
Paso 7 Crear el Archivo cross_sell.php en admin/includes/languages/espanol/

con el siguiente contenido:




-------------------------------------------------------------------------------
Paso 8 Buscar en Catalog/product_info.php




Remplazar por :





-------------------------------------------------------------------------------
Paso 9 en Catalog/includes/database_tables.php agregar al final antes del ?>:

//***
define('TABLE_PRODUCTS_CROSS_SELL', 'products_cross_sell');
//***


-------------------------------------------------------------------------------

Paso 10 en Catalog/includes/filenames.php agregar al final antes del ?>:

//***
define('FILENAME_CROSS_SELL_PRODUCTS', 'cross_sell_products.php');
//***

-------------------------------------------------------------------------------
Paso 11 en Catalog/includes/functions/cache.php agregar al final antes del ?>:


//***
function tep_cache_cross_sell_products($auto_expire = false, $refresh = false) {
global $HTTP_GET_VARS, $language, $languages_id;
if (($refresh == true) || !read_cache($cache_output, 'cross_sell_products-' . $language . '.cache' . $HTTP_GET_VARS['products_id'], $auto_expire)) {
ob_start();
include(DIR_WS_MODULES . FILENAME_CROSS_SELL_PRODUCTS);
$cache_output = ob_get_contents();
ob_end_clean();
write_cache($cache_output, 'cross_sell_products-' . $language . '.cache' . $HTTP_GET_VARS['products_id']);
}
return $cache_output;
}
//***
?>


--------------------------------------------------------------------------------

Paso 12 en catalog/includes/languages/espanol/product_info.php agregar al final antes del ?>:

//***
define('TEXT_CROSS_SELL_PRODUCTS', 'Productos Relacionados:');
//***

--------------------------------------------------------------------------------
Paso 13 por ultimo agregar en catalog/includes/modules/ el archivo "cross_sell_products.php"




More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
X-Sell v2-MS2 - Cross Sell for MS2 michael_s New osCommerce Contributions 0 03-13-2007 03:11 AM
X-Sell v2-MS2 - Cross Sell for MS2 michael_s New osCommerce Contributions 0 02-05-2007 12:00 PM
X-Sell v2-MS2 - Cross Sell for MS2 michael_s New osCommerce Contributions 0 01-29-2007 05:01 PM
Cross Sell Problem warrenthewindmill osCMax v1.7 Discussion 4 12-03-2003 08:00 AM
Cross Sell not working Anonymous osCMax v1.7 Discussion 27 11-10-2003 11:29 AM


All times are GMT -8. The time now is 08:35 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax