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

/customer/main/product.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-21-2007, 03:01 AM
 
bedriftsystem bedriftsystem is offline
 

Member
  
Join Date: Jan 2006
Posts: 11
 

Default /customer/main/product.tpl

Hello.

First thanks for a very good Forum. I need some help please.

I want this function to show up under the add to basket in the product details.

{/if}
{if $active_modules.Customer_Reviews ne ""}
<p />
{include file="modules/Customer_Reviews/vote_reviews.tpl" }
{/if}

I have manage to input these, but it dont work. If i use that in the buttom of the product page, it shows up there i want it. Can someone please tell me what to do.

This all is coded in the /customer/main/product.tpl
__________________
Regards
Svein
4,15 GOLD
Reply With Quote
  #2  
Old 01-21-2007, 05:13 PM
  neaisha's Avatar 
neaisha neaisha is offline
 

eXpert
  
Join Date: May 2006
Posts: 276
 

Default Re: /customer/main/product.tpl

are you trying to get it to display differently than the default?

if so, i've tried it and it's a headache. the tables are nested and are in a specific order based on the original code. if you want to move something around, you have to keep this in mind.

check all tpl files associated with customer reviews as there might be table tags that are preventing it from displaying the way you'd like.
__________________
X-Cart Gold 4.4.3
--------------------------------------
Reply With Quote
  #3  
Old 01-21-2007, 11:20 PM
 
bedriftsystem bedriftsystem is offline
 

Member
  
Join Date: Jan 2006
Posts: 11
 

Default Re: /customer/main/product.tpl

Hello thanks for the replay.. No it dont have to be different, I just want to move it up to the product there i think it is better for it to be. so people can see it .

Do you have a solution ? I have tryed to move it up, and it works. but then you try to rate the rating is not showing up there, Are you going down to the original and rate, then i got the rating there i put it also.

I cant understand why i cant rate it there i put it , then it is the same code i use to the original.

Thanks.
__________________
Regards
Svein
4,15 GOLD
Reply With Quote
  #4  
Old 01-22-2007, 03:53 PM
 
balinor balinor is offline
 

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

Default Re: /customer/main/product.tpl

Moving to Template Editing
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 02-11-2007, 08:17 AM
 
bedriftsystem bedriftsystem is offline
 

Member
  
Join Date: Jan 2006
Posts: 11
 

Default Re: /customer/main/product.tpl

Hello.

Is there no one that have done this or can do it ?

Hope for some answers.

thanks
__________________
Regards
Svein
4,15 GOLD
Reply With Quote
  #6  
Old 02-11-2007, 09:04 AM
 
balinor balinor is offline
 

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

Default Re: /customer/main/product.tpl

That code you used isn't quite right, this is what you should be using:

{if $active_modules.Customer_Reviews ne ""}
{include file="modules/Customer_Reviews/vote_reviews.tpl" }
{/if}

As long as you don't move it inside the form that is part of the add to cart function, you should be fine.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 10:29 AM.

   

 
X-Cart forums © 2001-2020