X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Dynamic Images for X-Cart version 4.1.x (https://forum.x-cart.com/showthread.php?t=33191)

Tye 11-26-2007 02:10 PM

Re: Dynamic Images for X-Cart version 4.1.x
 
Stephen, Telafirma - can you please send the updated mod over to me for version 4.1.X - I no longer need the extra modifications.

Your PM box is full - so I thought I'd post here

Thanks

scottmotte 11-26-2007 03:13 PM

Re: Dynamic Images for X-Cart version 4.1.x
 
Is there any setting or hack so that the watermark does not display on the thumbnail images only?

or possibly there is a way to change the following option to 125px or 150px instead?
Quote:

Watermark images that are over 100px wide with the company name as defined in X-Cart (Requires FreeType Support):

netexplorers 11-28-2007 06:29 AM

Re: Dynamic Images for X-Cart version 4.1.x
 
Hi

The module really is excellent and I am so happy with it - well done!

Just one minor problem -

In IE 6 and IE 7, on the product detail page if there is only one product image, with no detail images, when I click on the product image it loads a new window rather than using the ajax animation to appear.

See example here (use IE 6 or 7) - http://frontiermodelscouk.pre-dns-change.com/FREEDOM-FIGHTER-120mm-Resin-Model-Hobby-Kit-p-16134.html

Can you offer any advice?

thanks in advance

Owl 12-06-2007 03:30 AM

Re: Dynamic Images for X-Cart version 4.1.x
 
Quote:

Originally Posted by ach21
I know this isn't part of the mod but I was wondering if anyone was able to display thumnails in the related products section (upselling).

I am using the 3column mod from the following post:
http://forum.x-cart.com/showpost.php?p=178759&postcount=36

but the thumbnails won't show and was wondering if anyone knows how to make them appear.


Code:

{* $Id: related_products.tpl,v 1.15 2005/12/07 14:07:32 max Exp $ *}

{if $product_links ne ""}
{capture name=dialog}
{assign var="tmp" value="0"}
{section name=cat_num loop=$product_links}

{if $product_links[cat_num].productid}{assign var="tmp" value="1"}{/if}

{/section}

{section name=cat_num loop=$product_links}
{ if %cat_num.first% }

<table border="0" cellspacing="0" width="100%">
<tr>
{/if}
{if $smarty.section.cat_num.index is div by 3}
</tr><tr>
{/if}

<td align="center">

<div class="relatedsidebox">
<div class="relatedboxhead"><p>

&nbsp;

</p></div>
<div class="relatedboxbody">

<a style="text-decoration: none;" href="product.php?productid={ $product_links[cat_num].productid }"{if $config.Modules.upselling_new_window eq 'Y'} target="_blank"{/if}>
{include file="product_thumbnail.tpl" productid=$product_links[cat_num].productid image_x=$config.Appearance.thumbnail_width product=$product_links[cat_num].product type="T"}</a>
<br>

<a style="color: #FFFFFF" href="product.php?productid={ $product_links[cat_num].productid }"{if $config.Modules.upselling_new_window eq 'Y'} target="_blank"{/if}>
<b>{ $product_links[cat_num].product}</b>
</a>
<br>

<font class="ProductPriceRelated">{include file="currency.tpl" value=$product_links[cat_num].taxed_price}</font>
{if $product.taxes}<font class="ProductPriceVatRelated">
{include file="customer/main/taxed_price.tpl"
taxes=$product.taxes}</font>
{/if}
</div>
</div>

</td>

{ if %cat_num.last% }
</tr></table>
{/if}
{/section}
{/capture}
{include file="dialog.tpl" title="Related products" content=$smarty.capture.dialog extra="width=100%"}
{/if}




Yeah i got them to display after hours and hours of work =)

This should work, but this comes from 4.018 and on a highly modified theme so it may differ some. alt=$recommends needs to be set.

{if $recommends}
{capture name=recommends}

{section name=num loop=$recommends}

<a href="product.php?productid={$recommends[num].productid}">{include file="product_thumbnail.tpl" productid=$recommends[num].productid alt=$recommends[num].product image_x=75 tmbn_url=$recommends[num].tmbn_url}</a><br/>

<strong><a href="product.php?productid={$recommends[num].productid}">{$recommends[num].product}</a></strong><br />

<br style="clear:both;">
{/section}
{/capture}
{include file="dialog_clean.tpl" title=$lng.lbl_recommends content=$smarty.capture.recommends}
{/if}

ach21 12-07-2007 06:00 AM

Re: Dynamic Images for X-Cart version 4.1.x
 
Thanks Owl, but isn't that for recommended products? I am looking for a way to display images with related products that you define in upselling section.

I can do it by using the original product_thumbnail file but I'm looking for a way to use telafirma's mod with them. When i use telafirma's i get the dreaded noimage graphic.

TelaFirma 12-07-2007 06:30 AM

Re: Dynamic Images for X-Cart version 4.1.x
 
Hopefully today I will have another free mod downloadable from our site that will do just this. It will display Upsell or Recommended products in a tabular format with images. In addition, there will be fallover between the two. If you have Upsell products defined, then it will display them, if not then it will display the randomly generated products.

Oh - and it will also work with the image mod.

ach21 12-07-2007 07:03 AM

Re: Dynamic Images for X-Cart version 4.1.x
 
awesome news

TelaFirma 12-07-2007 04:02 PM

Re: Dynamic Images for X-Cart version 4.1.x
 
Quote:

Originally Posted by TelaFirma
Hopefully today I will have another free mod downloadable from our site that will do just this. It will display Upsell or Recommended products in a tabular format with images. In addition, there will be fallover between the two. If you have Upsell products defined, then it will display them, if not then it will display the randomly generated products.

Oh - and it will also work with the image mod.


This is now available. You can find it at:

http://www.telafirma.com/store/product.php?productid=16142

samz724 12-11-2007 11:04 AM

Re: Dynamic Images for X-Cart version 4.1.x
 
Just installed the mod, looks great! Having a problem with thumbnail pictures and variant pictures..

When I upload a thumbnail picture, it does not show in the product listing. It will show a "no image" image.

When I upload variant images, it will show under the product image but will not show anything when selecting different options(variants) from the drop-down box.

Please help! Thanks a lot!!! :mrgreen:

TelaFirma 12-11-2007 07:13 PM

Re: Dynamic Images for X-Cart version 4.1.x
 
What is the URL of the site?


All times are GMT -8. The time now is 06:29 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.