| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Stuck on Product Title tag | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I've been stuck and have TONS of questions.... I feel bad for asking all these questions, but I am sooo stuck..
I've been trying to put a Product Title tag on product.tpl for the past 2 hours, but I had no luck. I have tried placing {$products[product].product} but no luck. On the dialog.tpl, I deleted the {$title} tag since I did not want to display the Product title on the top of the images. I want to place right before the item description... I also tried putting {$title} on the product.tpl, but no luck either... How can I achieve it??
__________________
X-Cart Ver: 4.1.9 Gold X-Cart Ver: 4.1.10 Gold |
|||||||
#2
|
|||||||
|
|||||||
![]() try {$product.product}
|
|||||||
#3
|
|||||||
|
|||||||
![]() Thankyou! You saved me.
I was actually trying ($product.products} and wasnt working. Just having or not having a "s" does make a difference!! Thanks Again!!!!!!
__________________
X-Cart Ver: 4.1.9 Gold X-Cart Ver: 4.1.10 Gold |
|||||||
#4
|
|||||||
|
|||||||
![]() Hey Inebriate,
I'm sorry but I do have an another question... I am trying to put a manufactures title on each featured item (home.php & each products page). I placed ($manufacturer.manufacturer} but did not work... Is there anywhere I can get the code from or get a reference? I'm sorry for asking so many questions...
__________________
X-Cart Ver: 4.1.9 Gold X-Cart Ver: 4.1.10 Gold |
|||||||
#5
|
|||||||||
|
|||||||||
![]() How do I concatenate two variables in product title?
I want like this [Product_Manufacturer] SPACE [Product_Title]. I should do this in product.tpl I used this but gives me an error: {include file="customer/dialog.tpl" title=$product.manufacturer $product.producttitle|escape content=$smarty.capture.dialog}
__________________
X-Cart Next: Business 5.2 (learning and testing) X-Cart Classic: Gold and Gold Plus 4.7 Lots of Modules and Customizations OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions) You can catch my ideas here: http://ideas.x-cart.com |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() You can use the following in product.tpl to have manufacturer name (take it as a brand name) in product title
title=$product.manufacturer|cat:" "|cat:$product.producttitle|escape For a Smarty specialist: Is it a way to make this look better? I used two times |cat: operator. It looks ugly.
__________________
X-Cart Next: Business 5.2 (learning and testing) X-Cart Classic: Gold and Gold Plus 4.7 Lots of Modules and Customizations OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions) You can catch my ideas here: http://ideas.x-cart.com |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() If you feel ugly then try this:
title="`$product.manufacturer` `$product.producttitle`" Quote:
__________________
MercuryMinds Technologies Development Team, Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com X-Cart Mailchimp Ecommerce 360 Plugin/integration module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) Smasher, a smart search engine for x-cart store (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) One Page Checkout (OPC) - X-Cart module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() Great. Thanks Vetrivel.
__________________
X-Cart Next: Business 5.2 (learning and testing) X-Cart Classic: Gold and Gold Plus 4.7 Lots of Modules and Customizations OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions) You can catch my ideas here: http://ideas.x-cart.com |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|