Contributions
Recently Viewed Products(sales optimized)
Recently Viewed Products(sales optimized)
Allows your customers to see what products they have recently viewed and then easily allows them to order those products.
In an infobox placed in either the right or left column a list of products viewed is displayed.
Your customer can then either click on the name of the product or click the "See More" button
for the page of recently viewed products. All the products on this page have a buy now button.
please check out the screen shot.
This is a very effective sales tool that minimizes clicks, making it is easy for a customer to
purchase items they have recently viewed. The object in retailing is to increase sales.
With this goal in mind, this contribution makes it easier for customers to buy these products.
The Recently Viewed (sales optimized) forum: http://forums.oscommerce.com/index.php?showtopic=282340
All this is without slowing down the product info page (as no extra database queries are required there).
Screenshot included!
Keywords: product history, viewing history, browsing history
Expand All / Collapse All
There is one bug in:
catalog/includes/column_right.php
at the end just before the closing ?> find:
// Start recently_viewed
if (SHOW_RECENTLY_VIEWED_COLUMN_BOX && basename ($PHP_SELF) != FILENAME_RECENTLY_VIEWED) {
require_once (DIR_WS_BOXES . 'recently_viewed.php');
} // if (SHOW_RECENTLY_VIEWED_COLUMN_BOX
// End recently_viewed
change to:
// Start recently_viewed
if (SHOW_RECENTLY_VIEWED_COLUMN_BOX == 'True' && basename ($PHP_SELF) != FILENAME_RECENTLY_VIEWED) {
require_once (DIR_WS_BOXES . 'recently_viewed.php');
} // if (SHOW_RECENTLY_VIEWED_COLUMN_BOX
// End recently_viewed
The wrong statement let the the recently viewed box show even it was deactivated in admin: show coloumn box = false
Hope this helps
No file included, only text with this instructons. Do the change on your catalog/includes/column_right.php file
Sorry for my poor english, i'm french.
I'm using a sold out button when the quantity of products is 0.
I would like to add the "sold out" instead of the button "buy" when the quantity of product = 0 in recently viewed.php
I found a solution,I hope that this will help someone, the code is not terrible but it works.
all HTML tages are stripped in order to avoid displaying invalid HTML codes in Recently Viewed list
catalog/Recently_Viewed.php
at line 87
replace
$description = $products['products_description'];
with
$description = tep_flatten_product_description($products['products_description']);
jn
BACKUP FIRST ! BACKUP FIRST !
catalog/includes/recently_viewed.php
catalog/includes/modules/recently_viewed.php
Two ways to display to correct price with tax
replace:
$info_box_text .= $currencies->display_price ($products_data[$products_id]['price'], tep_get_tax_rate ($products_data[$products_id]['products_tax_class_id']) );
with
$info_box_text .= $currencies->display_price ($products_data[$products_id]['price'], tep_get_tax_rate ($products_data[$products_id]['tax_class_id']) );
OR OR OR OR OR OR
replace
$products_data[$products_id] = array ('id' => $products_id,
'name' => $products['products_name'],
'image' => $products['products_image'],
'price' => $products['products_price'],
'tax_class_id' => $products['products_tax_class_id'] ///here is the mistake tax_class_id and in the 2 files it appends products_data[$products_id]['products_tax_class_id']
);
with
$products_data[$products_id] = array ('id' => $products_id,
'name' => $products['products_name'],
'image' => $products['products_image'],
'price' => $products['products_price'],
'products_tax_class_id' => $products['products_tax_class_id']
);
Hope this helps.
Full package
Visible : http://www.oscommerce-screenshots.com/recently-viewed-products-p-356.html
The previous version has been updated with several new features:
An optional link in either side column to a page of recently viewed products.
An optional box in either side column with each product's image, name, and price, plus a button linked to a page of recently viewed products. The number of products shown and each of the elements can be controlled from tha Admin.
An optional box at the bottom of the page with each product's image, name, description, and price, plus a button linked to a page of recently viewed products. The products can be diplayed in a grid (like the New Products box) or in rows like the Category product list. The number of products shown, the length of the description, and each of the elements can be controlled from tha Admin.
A page with each product's image, name, description, price, and a Buy Now button. The number of products shown, the length of the description, and each of the elements can be controlled from tha Admin.
The database table added by the previous version has been removed.
Screenshots of both of the tables, the recently viewed products page, and the Admin page are included in the distribution.
This version is compatible with osCommerce 2.2RC2a, PHP 5.x, MySQL 5.x, and Register Globals on or off.
Recently Viewed Products(sales optimized)
Allows your customers to see what products they have recently viewed and then easily allows them to order those products.
In an infobox placed in either the right or left column a list of products viewed is displayed.
Your customer can then either click on the name of the product or click the "See More" button
for the page of recently viewed products. All the products on this page have a buy now button.
please check out the screen shot.
This is a very effective sales tool that minimizes clicks, making it is easy for a customer to
purchase items they have recently viewed. The object in retailing is to increase sales.
With this goal in mind, this contribution makes it easier for customers to buy these products.
The Recently Viewed (sales optimized) forum: http://forums.oscommerce.com/index.php?showtopic=282340
All this is without slowing down the product info page (as no extra database queries are required there).
Screenshot included!
Keywords: product history, viewing history, browsing history
Note: Contributions are used at own risk.