X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   {lng.text_label in Product name (https://forum.x-cart.com/showthread.php?t=54557)

ADDISON 07-10-2010 11:14 PM

{lng.text_label in Product name
 
X-Cart version 4.3.2

I would like to define text labels in Language and use them in

- Product name
- Product Meta Title

Where shall change the script using Smarty eval function?

Here is an example of this request. You would like to use Manufacturer name in front of your product name. Just define all manufactureres as labels and use them in Product name ("Adidas ").

amy2203 07-10-2010 11:40 PM

Re: {lng.text_label in Product name
 
why not just display the manufacturer in front of the product, along the lines of {$product.manufacturer} {$product.product} ? assigning them as labels seems an unnecessary extra step.

ADDISON 07-11-2010 01:03 AM

Re: {lng.text_label in Product name
 
your solution requests a lot of changes in tpl files. other way is to set up a check box in General option, change a little php script.

my idea is very simple. when create a product use a label in its name. one click on Save button an done.


All times are GMT -8. The time now is 11:16 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.