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

how to add extra text at product page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 05-04-2017, 03:23 PM
 
Eyeglasses Expert Eyeglasses Expert is offline
 

eXpert
  
Join Date: May 2010
Posts: 306
 

Default how to add extra text at product page

I am planning to add different extra text at product page of different category, say:
product a, under category one: add aaaaaaaaaaaaaa
product b, under category two: add bbbbbbbbbbbbbb

how to do, pls?
tks
Reply With Quote
  #2  
Old 05-04-2017, 08:13 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: how to add extra text at product page

There is no such a function in X-Cart 4 out of the box. You need someone to program this as a custom modification.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 05-05-2017, 02:28 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: how to add extra text at product page

On customer/main/product.tpl or product_details.tpl (depending where you want it to appear) add something like this:

PHP Code:
{if $cat eq 123}
aaaaaaaaaaaaaa
{elseif $cat eq 234}
bbbbbbbbbbbbbb
{/if} 
Admin Categories can show you the id number of each category (look in link or page address).
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote

The following user thanks cherie for this useful post:
Eyeglasses Expert (05-06-2017)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:14 AM.

   

 
X-Cart forums © 2001-2020