Quote:
Originally Posted by Bounce
Hi,
Excellent add-on...
Is there the ability in the options to add a text area where the user can enter text?
For Example:
Special Requirements
< user enters text>
|
Not without some modification to this mod however I edited my version replacing the add to cart and view cart w/ e-junkie links to my products and services so it can be customized but on the entry field comment, I'm utilizing the easy forms mod in conjunction with this -
https://vborg.vbsupport.ru/showthread.php?t=234385
Quote:
Originally Posted by Bounce
Also can the thumbnail be clickable?
Thanks
|
Edit template cartplog_view_item and find:
Code:
<vb:if condition="$cartplog['product_thumb']">
<img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:raw cartplog.product_thumb}" alt="" border="0" />
<vb:else />
<img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:stylevar imgdir_misc}/cartplog_no_image.gif" alt="" border="0" />
</vb:if>
Replace with:
Code:
<vb:if condition="$cartplog['product_thumb']">
<a href="cartplog.php?{vb:raw session.sessionurl}do=viewitem&cartplogproductid={vb:raw cartplog.product_productid}"><img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:raw cartplog.product_thumb}" alt="" border="0" /></a>
<vb:else />
<a href="cartplog.php?{vb:raw session.sessionurl}do=viewitem&cartplogproductid={vb:raw cartplog.product_productid}"><img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:stylevar imgdir_misc}/cartplog_no_image.gif" alt="" border="0" /></a>
</vb:if>
Also edit template cartplog_product_item and find:
Code:
<vb:if condition="$cartplog['product_thumb']">
<img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:raw cartplog.product_thumb}" alt="" border="0" />
<vb:else />
<img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:stylevar imgdir_misc}/cartplog_no_image.gif" alt="" border="0" />
</vb:if>
Replace with:
Code:
<vb:if condition="$cartplog['product_thumb']">
<a href="cartplog.php?{vb:raw session.sessionurl}do=viewitem&cartplogproductid={vb:raw cartplog.product_productid}"><img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:raw cartplog.product_thumb}" alt="" border="0" /></a>
<vb:else />
<a href="cartplog.php?{vb:raw session.sessionurl}do=viewitem&cartplogproductid={vb:raw cartplog.product_productid}"><img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:stylevar imgdir_misc}/cartplog_no_image.gif" alt="" border="0" /></a>
</vb:if>
See where I'm headed with this?

So basically check all templates for code similar to:
Code:
<img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:raw cartplog.product_thumb}" alt="" border="0" />
And replace with:
Code:
<a href="cartplog.php?{vb:raw session.sessionurl}do=viewitem&cartplogproductid={vb:raw cartplog.product_productid}"><img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:raw cartplog.product_thumb}" alt="" border="0" /></a>
Tips:
- Making the picture large is fine, this way when they click it opens full size and cartplog will resize it to appear as a thumbnail regardless on the index, item view and other areas if you edit those as well.
- Make all images of products a square i.e. 600x600 pixels otherwise when it resizes the image may become distorted if for example it's 350x450 so basically no rectangular images.