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

Thick box integration... Help

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 02-21-2008, 08:49 PM
 
EN4U EN4U is offline
 

eXpert
  
Join Date: Feb 2008
Location: AZ
Posts: 379
 

Default Thick box integration... Help

Hello, ive upload the files to the locations and all, yet the thread i read here seems to differ from the product.tpl i have. So i didnt want to mess with it. Even took me some time to find it, it was in the /main folder...

Im totaly new to this and after readin and reading for the last fe days I finaly got up the nerve to begin to alter some things, etc.... yet its still so very confusing to me.


i was wondering, if anyone here could take a few monents and adjust this product.tpl for me.

Thank you so very much in advance....

{* $Id: product.tpl,v 1.46.2.2 2007/06/04 11:13:13 max Exp $ *}
{capture name=dialog}
<table width="100%">
<tr>
<td valign="top" align="left" width="30%">
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product}
<p />
{if $smarty.get.mode ne "printable"}
<a href="product.php?productid={$product.productid}&a mp;mode=printable" target="_blank"><img src="{$ImagesDir}/print.gif" width="23" height="22" name="print" alt="{$lng.lbl_printable_version|escape}" /></a>
{/if}
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>{$lng.lbl_sku}</td>
<td>{$product.productcode}</td>
</tr>
{if $product.category_text}
<tr>
<td>{$lng.lbl_category}</td>
<td>{$product.category_text}</td>
</tr>
{/if}
{if $usertype eq "A"}
<tr>
<td>{$lng.lbl_vendor}</td>
<td>{$product.provider}</td>
</tr>
{/if}
<tr>
<td>{$lng.lbl_availability}</td>
<td>{if $product.forsale eq "Y"}{$lng.lbl_avail_for_sale}{elseif $product.forsale eq "B"}{$lng.lbl_pconf_avail_for_sale_bundled}{elseif $product.forsale eq "H"}{$lng.lbl_hidden}{else}{$lng.lbl_disabled} {/if}</td>
</tr>
<tr>
<td colspan="2">
<br />
<br />
<span class="Text">{$product.descr}</span>
<br />
<br />
</td>
</tr>
<tr>
<td colspan="2"><b><font class="ProductDetailsTitle">{$lng.lbl_price_info}< /font></b></td>
</tr>
<tr>
<td class="Line" height="1" colspan="2"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td width="50%">{$lng.lbl_price}</td>
<td nowrap="nowrap"><font class="ProductPriceSmall">{include file="currency.tpl" value=$product.price}</font></td>
</tr>
<tr>
<td width="50%">{$lng.lbl_in_stock}</td>
<td nowrap="nowrap">{$lng.lbl_items_available|substitu te:"items":$product.avail}</td>
</tr>
<tr>
<td width="50%">{$lng.lbl_weight}</td>
<td nowrap="nowrap">{$product.weight} {$config.General.weight_symbol}</td>
</tr>
</table>
<br />

<table cellspacing="0" cellpadding="0">
<tr>
<td>{include file="buttons/modify.tpl" href="product_modify.php?productid=`$product.produ ctid`"}</td>
<td>&nbsp;&nbsp;</td>
<td>{include file="buttons/clone.tpl" href="process_product.php?mode=clone&productid=`$p roduct.productid`"}</td>
<td>&nbsp;&nbsp;</td>
<td>{include file="buttons/delete.tpl" href="process_product.php?mode=delete&productid=`$ product.productid`"}</td>
</tr>
</table>

</td>
</tr>
</table>
{/capture}
{if $smarty.get.mode eq "printable"}
{include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra="width=440"}
{else}
{include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra='width="100%"'}
{/if}
__________________
Regards, Dan
X-Cart Gold Version 4.1.10

1 - One page checkout
2 - Image Generator
3 - CSDEO Pro
4 - Shop By Price
5 - Next - Previous
6 - On Sale
7 - Shop By Price

8 - Froogle & Google Base Feed
9 - Buy Together
10 - Customer Loyalty Points
11 - Customer Reward Points
Customer Reward Points Referral Add-on
12 - Product Reviews
13 - Other Custom Modifications
----------------------
http://www.townsqjewelry.com/
http://www.eroticnights4u.com/ <---- Adult Oriented - Toys
Reply With Quote
  #2  
Old 02-21-2008, 11:16 PM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,054
 

Default Re: Thick box integration... Help

I'm not 100% sure there is any difference, but what version of thickbox are you installing, 2 or 3?
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 02-21-2008, 11:20 PM
 
EN4U EN4U is offline
 

eXpert
  
Join Date: Feb 2008
Location: AZ
Posts: 379
 

Default Re: Thick box integration... Help

Quote:
Originally Posted by pauldodman
I'm not 100% sure there is any difference, but what version of thickbox are you installing, 2 or 3?

Hello...

i got it from here http://www.7dana.com/106.84.0.0.1.0.phtml


Looking at others product.tpl the version appeared different.. I couldnt find the points that matched to the insall either.... So i thought id sk you guys.. Lord knows im no expert yet, nor do i think at this point i ever will be....

lol
__________________
Regards, Dan
X-Cart Gold Version 4.1.10

1 - One page checkout
2 - Image Generator
3 - CSDEO Pro
4 - Shop By Price
5 - Next - Previous
6 - On Sale
7 - Shop By Price

8 - Froogle & Google Base Feed
9 - Buy Together
10 - Customer Loyalty Points
11 - Customer Reward Points
Customer Reward Points Referral Add-on
12 - Product Reviews
13 - Other Custom Modifications
----------------------
http://www.townsqjewelry.com/
http://www.eroticnights4u.com/ <---- Adult Oriented - Toys
Reply With Quote
  #4  
Old 02-22-2008, 12:24 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,054
 

Default Re: Thick box integration... Help

Hi
Well for someone who doesn't know what they are doing - you have a heavily modified product.tpl template there!!!

Firstly, you have thickbox v3.

From the instructions - line 2 is simply to place on the page where you want the links to the thickbox detailed images to be - so you have to try it and see, but I suggest you simply add this line:

{include file="thickbox/thickbox_productpage.tpl" }

after your existing {include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product}
at line #6 and see what it looks like.

Point 3 of the instruction is simply to remove Detailed Images from showing, as Thickbox is going to do this.
I can't see anywhere on your page that you have detailed images - so someone has already removed them by the looks of it - so you can ignore point 3.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #5  
Old 02-22-2008, 12:29 AM
 
EN4U EN4U is offline
 

eXpert
  
Join Date: Feb 2008
Location: AZ
Posts: 379
 

Default Re: Thick box integration... Help

Quote:
Originally Posted by pauldodman
Hi
Well for someone who doesn't know what they are doing - you have a heavily modified product.tpl template there!!!

Firstly, you have thickbox v3.

From the instructions - line 2 is simply to place on the page where you want the links to the thickbox detailed images to be - so you have to try it and see, but I suggest you simply add this line:

{include file="thickbox/thickbox_productpage.tpl" }

after your existing {include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product}
at line #6 and see what it looks like.

Point 3 of the instruction is simply to remove Detailed Images from showing, as Thickbox is going to do this.
I can't see anywhere on your page that you have detailed images - so someone has already removed them by the looks of it - so you can ignore point 3.

Thank you paul.... i will try that. The odd thing is, i havent altered this product.tpl at all. What u see above, is what it was soon after my host installed the cart. So you saying it's modified is really odd. Wonder why?

I will let ya know if I get it to work or not.... Im so afraid to change anything.lol
__________________
Regards, Dan
X-Cart Gold Version 4.1.10

1 - One page checkout
2 - Image Generator
3 - CSDEO Pro
4 - Shop By Price
5 - Next - Previous
6 - On Sale
7 - Shop By Price

8 - Froogle & Google Base Feed
9 - Buy Together
10 - Customer Loyalty Points
11 - Customer Reward Points
Customer Reward Points Referral Add-on
12 - Product Reviews
13 - Other Custom Modifications
----------------------
http://www.townsqjewelry.com/
http://www.eroticnights4u.com/ <---- Adult Oriented - Toys
Reply With Quote
  #6  
Old 02-22-2008, 01:10 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,054
 

Default Re: Thick box integration... Help

If you back it up first, you can't go wrong!
Yes, definately modified - do you want to send me a link to your shop and I'll see why it is so different? (email of PM if you want)
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #7  
Old 02-22-2008, 01:17 AM
 
EN4U EN4U is offline
 

eXpert
  
Join Date: Feb 2008
Location: AZ
Posts: 379
 

Default Re: Thick box integration... Help

Quote:
Originally Posted by pauldodman
If you back it up first, you can't go wrong!
Yes, definately modified - do you want to send me a link to your shop and I'll see why it is so different? (email of PM if you want)

Would messing with skins change that? Allthough, when I found that product.tpl the site was still default oarnge right after host installed it.... So its just odd

But since then, ive done skins and a few other things.

Yes i am definetly backing things up before i do anything. i allready have 4 skin folders on comp from each tweak i do..lol

PErhasp being a bit paranoid, but until I get the hang of this im going to back up like a mad man.

Right now the site is in maintenence mode, with a custom shop_closed file and im using my shop key to look at the site as i make changes.

Im so happy they have this shop key thing. i wrote a post earler asking if this was an option here, then i found it shortly afterwords. LOL////

Trial and error indeed.......

---------

PS - paul i jjst tried to fire ya a pm, yet your inbox says its full and past quota bro......
__________________
Regards, Dan
X-Cart Gold Version 4.1.10

1 - One page checkout
2 - Image Generator
3 - CSDEO Pro
4 - Shop By Price
5 - Next - Previous
6 - On Sale
7 - Shop By Price

8 - Froogle & Google Base Feed
9 - Buy Together
10 - Customer Loyalty Points
11 - Customer Reward Points
Customer Reward Points Referral Add-on
12 - Product Reviews
13 - Other Custom Modifications
----------------------
http://www.townsqjewelry.com/
http://www.eroticnights4u.com/ <---- Adult Oriented - Toys
Reply With Quote
  #8  
Old 02-22-2008, 01:30 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,054
 

Default Re: Thick box integration... Help

Yes, I'm afraid the PM system isn't really much use in this forum!! As soon as I empty it, it fills up again!
You can try now, or just email me - no limits on emails!
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #9  
Old 02-22-2008, 01:39 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,054
 

Default Re: Thick box integration... Help

Right, well you've got an off the shelf, 3rd party template on there from 7dana. Which is fine, no problem at all - it simply explains why it's not default code.

You were asking about showing images for subcats - yes, this is something I do all the time - I think this thread may be the one for it:
http://forum.x-cart.com/showthread.php?t=3848&highlight=subcategory+images
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #10  
Old 02-22-2008, 02:17 AM
 
EN4U EN4U is offline
 

eXpert
  
Join Date: Feb 2008
Location: AZ
Posts: 379
 

Default Re: Thick box integration... Help

Quote:
Originally Posted by pauldodman
Right, well you've got an off the shelf, 3rd party template on there from 7dana. Which is fine, no problem at all - it simply explains why it's not default code.

You were asking about showing images for subcats - yes, this is something I do all the time - I think this thread may be the one for it:
http://forum.x-cart.com/showthread.php?t=3848&highlight=subcategory+images


Nice thanks you..i pasted the top one in the tpl yet it didnt work..... I see the last person who has my cart version had success ...I wonder if that is available on what they did.

There site looks great using it, i must have this mod...... if you got a working copy bro, fire it to me would ya....

Thanks

PS - im trying to mess wit the product.tl also..... yet no go. BUT, i cant even get the detailed image section to work even in default. The module is engaged. and the 2 buttons for it i have checked..yet detailed section doesnt even show up on the page at all.

Am i missing something here?? is here something else I need to check, or uncheck.... Very frustrating...
__________________
Regards, Dan
X-Cart Gold Version 4.1.10

1 - One page checkout
2 - Image Generator
3 - CSDEO Pro
4 - Shop By Price
5 - Next - Previous
6 - On Sale
7 - Shop By Price

8 - Froogle & Google Base Feed
9 - Buy Together
10 - Customer Loyalty Points
11 - Customer Reward Points
Customer Reward Points Referral Add-on
12 - Product Reviews
13 - Other Custom Modifications
----------------------
http://www.townsqjewelry.com/
http://www.eroticnights4u.com/ <---- Adult Oriented - Toys
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 02:51 PM.

   

 
X-Cart forums © 2001-2020