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

Product Detail Page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-08-2005, 08:20 PM
 
MetalLaw MetalLaw is offline
 

Advanced Member
  
Join Date: Jan 2005
Location: San Diego, California
Posts: 42
 

Default Product Detail Page

I'd like o modify my product detail page. Please tell me how to accomplish the following tasks.

1) I would like the Detailed Image module to appear ABOVE the Send to Friend Module. In fact, the ideal solution would be to move the email to friend module to the right side collumn. Is that possible?

2) I would like to remove the SKU display from the Related Products module.

Any help would be appreciated.
__________________
X-Cart 4.0.9
Reply With Quote
  #2  
Old 01-09-2005, 05:37 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

To flip the detailed images and send to friend, edit product.tpl and replace this:

Code:
{include file="customer/main/send_to_friend.tpl" } {if $active_modules.Detailed_Product_Images ne ""} {include file="modules/Detailed_Product_Images/product_images.tpl" } {/if}

with this:

Code:
{if $active_modules.Detailed_Product_Images ne ""} {include file="modules/Detailed_Product_Images/product_images.tpl" } {/if} {include file="customer/main/send_to_friend.tpl" }

To remove the sku, simply delete this line from Modules/Upselling_Products/related_products.tpl:

Code:
<TD width="1%">#{$product_links[cat_num].productid}</TD>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-09-2005, 06:02 PM
 
MetalLaw MetalLaw is offline
 

Advanced Member
  
Join Date: Jan 2005
Location: San Diego, California
Posts: 42
 

Default

Awesome! Thanks for the help. I actually ended up putting the Send to Friend module all the way at the very bottom of the page.
__________________
X-Cart 4.0.9
Reply With Quote
  #4  
Old 01-13-2005, 11:00 PM
 
Danielle Danielle is offline
 

Senior Member
  
Join Date: Jan 2005
Posts: 138
 

Default

OK, where is product.tpl? I can't seem to find it...and I don't want to mess something up!

Thanks!
__________________
Danielle
X-Cart Pro 4.0.10
X-Gift-Registry
X-AOM
Reply With Quote
  #5  
Old 01-13-2005, 11:47 PM
  CC's Avatar 
CC CC is offline
 

eXpert
  
Join Date: Jun 2004
Posts: 349
 

Default

in /skin1/customer/main/
__________________
XC 4.2 inc (unofficial) patch release.
Reply With Quote
  #6  
Old 01-14-2005, 03:39 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Hi Danielle, welcome to X-Cart. You might want to start by reading the X-Cart manual for the basic concept of editing templates, or by reading one of the many threads dedicated to this topic. Once you get familar with the concept, you can use Webmaster Mode to find which templates are which. And by all means use the forum as a tool if you get lost. Many of the basic questions you are bound to have are already covered in detail many times over. Good luck!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 01-14-2005, 07:34 AM
 
Danielle Danielle is offline
 

Senior Member
  
Join Date: Jan 2005
Posts: 138
 

Default

It's OK, I found it and did it, thanks! I am somewhat familiar with editing templates, I was just looking in cpanel for the file, that's where I'm used to editing templates, once I figured out it was in admin, I found it!

Thanks for your help!
__________________
Danielle
X-Cart Pro 4.0.10
X-Gift-Registry
X-AOM
Reply With Quote
  #8  
Old 02-20-2005, 06:54 AM
 
garry garry is offline
 

Senior Member
  
Join Date: Oct 2003
Location: Wolverhampton UK
Posts: 102
 

Default C-Panel

Hi Danille

I noticed that you use C-Panel to edit your file, a word of caution her never use c-panel to edit the php files as it will more than likely break the cart, I don't know why but it does in x-cart and oscommerce, the code will look ok but it just won't work.

Garry
__________________
Garry


http://www.natralife.co.uk


X-Cart Gold version 4.5.4
PHP 5.3.18
MySQL client 5.0.96
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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:22 PM.

   

 
X-Cart forums © 2001-2020