Cross-sell product vs. global image sizes are different

General ShopSite user discussion

Cross-sell product vs. global image sizes are different

Postby dlundell » Tue May 20, 2008 9:25 pm

I have cross-sell configured both globally and for products.

Both are configured to use the same size image product image.

However, when the image display, the cross-sell product image is showing the default product image, as opposed to the ss_size3 image
that I would expect (the one that displays for global cross-sell).

The global and product cross sell definitions are similar (included below - I've removed the no-graphic blocks for ease of reading).

Does anyone know what I'm missing here?

Thanks,

- dc

#<!-- Global Cross-sell in Cart -->#
[-- DEFINE GLOBAL_CROSS_SELL --]
#<!-- HTML Snippet -->#
<table class="gcs_product_table">
<tbody>
[-- IF PRODUCT.DisplayName --]
<tr>
[-- IF CROSS_SELL_LINK --]
<td valign=top class="gcs_product_name"><a class="gcs_product_name" href="[-- CROSS_SELL_LINK --]">[-- PRODUCT.Name --]</a></td>
[-- ELSE --]
<td valign=top class="gcs_product_name">[-- PRODUCT.Name --]</td>
[-- END_IF --]
</tr>
[-- END_IF --]
<tr>
[-- IF CROSS_SELL_LINK --]
<td xidth=200 valign=top class="gcs_product_image"><a class="gcs_product_graphic" href="[-- CROSS_SELL_LINK --]"><img class="gcs_product_graphic" [-- PRODUCT.Graphic REMOVE_HTML --] alt="[-- PRODUCT.Name REMOVE_HTML --]"></a><br>[-- PRODUCT.Price --]</td>
[-- ELSE --]
<td xidth=200 valign=top class="gcs_product_image"><img class="gcs_product_graphic" [-- PRODUCT.Graphic REMOVE_HTML --] alt="[-- PRODUCT.Name REMOVE_HTML --]"></td>
[-- END_IF --]
</tr>
[-- END_IF --]
</tbody>
</table>
[-- END_DEFINE GLOBAL_CROSS_SELL --]


#<!-- Per-Product Cross-sell in Cart -->#
[-- DEFINE CART_CROSS_SELL --]
#<!-- HTML Snippet -->#
<table class="pcs_product_table">
<tbody>
[-- IF PRODUCT.DisplayName --]
<tr>
[-- IF CROSS_SELL_LINK --]
<td valign=top class="pcs_product_name"><a class="pcs_product_name" href="[-- CROSS_SELL_LINK --]">[-- PRODUCT.Name --]</a></td>
[-- ELSE --]
<td valign=top class="pcs_product_name">[-- PRODUCT.Name --]</td>
[-- END_IF --]
</tr>
[-- END_IF --]
<tr>
[-- IF CROSS_SELL_LINK --]
<td xidth=200 valign=top class="pcs_product_image"><a class="pcs_product_graphic" href="[-- CROSS_SELL_LINK --]"><img class="pcs_product_graphic" [-- PRODUCT.Graphic REMOVE_HTML --] alt="[-- PRODUCT.Name REMOVE_HTML --]"></a><br>[-- PRODUCT.Price --]</td>
[-- ELSE --]
<td xidth=200 valign=top class="pcs_product_image"><img class="pcs_product_graphic" [-- PRODUCT.Graphic REMOVE_HTML --] alt="[-- PRODUCT.Name REMOVE_HTML --]"><br>[-- PRODUCT.Price --]</td>
[-- END_IF --]
</tr>
[-- END_IF --]
</tbody>
</table>
[-- END_DEFINE CART_CROSS_SELL --]
dlundell
 
Posts: 95
Joined: Fri Aug 04, 2006 6:13 pm

Postby Jim » Wed May 21, 2008 7:28 am

Do you have the check boxes both check to use the smaller image on the Cross-sell configuration screen? In testing to see if there was a problem that I could reproduce I selected tthe size for the cross-sell images but neglected to check the box that says "Check here to use this size of the product image." . Check both the Cart Global and Cart Product sections to make sure you have that box checked.

Also make sure that you have created the appropriate resized image for the product in question.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby dlundell » Wed May 21, 2008 12:15 pm

Jim wrote:Do you have the check boxes both check to use the smaller image on the Cross-sell configuration screen? In testing to see if there was a problem that I could reproduce I selected tthe size for the cross-sell images but neglected to check the box that says "Check here to use this size of the product image." . Check both the Cart Global and Cart Product sections to make sure you have that box checked.

Also make sure that you have created the appropriate resized image for the product in question.


Yes, both the global and product check boxes are selected.

- dc
dlundell
 
Posts: 95
Joined: Fri Aug 04, 2006 6:13 pm

Postby Jim » Wed May 21, 2008 12:57 pm

Does it work using a ShopSite provided template? I tried the CrossSell-Sky-sc cart and a number of other shopping cart templates and they all worked.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby dlundell » Fri May 23, 2008 1:39 am

Jim wrote:Does it work using a ShopSite provided template? I tried the CrossSell-Sky-sc cart and a number of other shopping cart templates and they all worked.


I'll investigate/compare templates when I have a little time.

Another thing I'm seeing is that only the 2 global cross sell items
are showing up (I have 19 added), even though I have the display
order set to random.

They used to display randomly.

Thoughts?

Thanks.
dlundell
 
Posts: 95
Joined: Fri Aug 04, 2006 6:13 pm

Postby Jim » Fri May 23, 2008 6:12 am

Maybe it is pseudo-random order. If you refresh the page or do a recalculate do they change?
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby dlundell » Fri May 23, 2008 8:30 am

Jim wrote:Does it work using a ShopSite provided template? I tried the CrossSell-Sky-sc cart and a number of other shopping cart templates and they all worked.


We have a busy store.

What's the best way to test a different cart template without
disrupting our regular Shopsite orders?

Thanks,

Don
dlundell
 
Posts: 95
Joined: Fri Aug 04, 2006 6:13 pm

Postby Jim » Fri May 23, 2008 11:43 am

Get at demo store at http://shopsite.com/demo.html#manage They are good for about a week which should give you time for testing. If you need more time just request an extension when the expiration email comes.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 16 guests