Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Note for those using BCSE ezUpsell Mod w/4.1.11

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 09-19-2008, 01:04 PM
 
jillsybte jillsybte is offline
 

eXpert
  
Join Date: Jun 2006
Location: New York, USA
Posts: 389
 

Default Note for those using BCSE ezUpsell Mod w/4.1.11

I am currently testing 4.1.11; I was testing 4.1.10 and abandoned that when 4.1.11 was released. I purchased the ezUpsell Mod from BCS Engineering to use when I go live with the new X-Cart version. I had installed it with 4.1.10 and it worked fine when I tested it. I installed it with 4.1.11 and it worked except that it did not display the product thumbnails along with the related products. Instead it displayed the default No Image image as if the product did not have an assigned image.

I began looking through the scripts and templates that have changed between 4.1.10 and 4.1.11 and found the problem is with a change made to skin1/admin/main/product_links.tpl.

In 4.1.10, Line 32:
Quote:
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" type="P"} 
corresponds to 4.1.11, Line 30:
Quote:
{include file="product_thumbnail.tpl" productid=$product.image_id image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.image_url id="product_thumbnail" type=$product.image_type full_url="Y"} 

In skin1/modules/ezUpsell/ezupsell.tpl, Line 32 is:
Quote:
<td><a href="product.php?productid={ $product_links[cat_num].productid }">{include file="product_thumbnail.tpl" productid=$product_links[cat_num].productid product=$product_links[cat_num].product tmbn_url=$product_links[cat_num].tmbn_url}</a></td>

So in ezupsell.tpl, I changed the tmbn_url in line 32 to image_url and that fixed the problem.

I just wanted to pass that along to anyone using ezUpsell with 4.1.11 and having the no product thumbnails problem.

Jill
__________________
X-Cart Gold 4.1.8 (Live)
BCSE Shipping Estimator for FLC Mod
BCSE Shipping Methods per Product Mod
BCSE Customer Review Management Mod
BCSE Catalog Order Form Mod
X-Cart Gold 4.5.2 (Building/Testing)
USA
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:26 PM.

   

 
X-Cart forums © 2001-2020