Hi there,
I’m trying to get the manufacturer / brand name to show above or before the product name.
I found out the following works. In the name field, type: BRAND
NAME
for example: CHANEL
Anti-aging cream
This has the added advantage that the search also finds products by brand.
But there must be a better way to do this right? Like using the manufacturer field?
Advice is very welcome
Dont know what version you are on but putting html tags in product name field in 2.1.2, 2.1.3 makes paypal payments come back as declined, even though the payment is made.
this bug was fixed in 2.1.4
JOhn
Thanks John,
I’m using 2.1.4 but this shop is not live yet. So I will have to test if this works correctly.
Just as a practice, using any kind of markup language in meta-data fields (page title, meta-description, meta-keywords, etc.) is ill advised. Google won’t like it either for indexing. They expect to see plain text and may penalize you for having markup.
I was thinking the same thing…
So is there no way to get the manufacturer / brand field to show up on the product details page and maybe in the listing, instead of just typing it before or after the product name 100 times?
It seems like one of the most important fields. Also in the search…
Let’s say a webshop sells Ford and Toyota cars. His brands show on the feature tab.
But when a customer types in Ford on the searchpage no cars show up?!
Or am I overlooking something really bad here?
I think we’re mixing things. Keep markup out of meta fields.
To add a manufacturer I would add a post controller for the products page and then do the look up of the manufacturer. I would then read the product_data variable from the template ($new_product_data = $view->get_var(‘product_data’)) and then change the page_name element to pre-pend the manufacturer name and do whatever other adjustments you want, then save it back as $view->assign(‘product_data’, $new_product_data);
You would apply whatever logic you want in this controller.
What I would like to do is; add additional field (same like Product code) under the product code with the name of manufacture and be able to set the manufacture name same like product code in admin section. Is there a simple way to do it ?
What if I just find and copy the php code for Product code and paste right next to it ?
I wish to be able to add manufacture logo under product code but have been told that in CS Cartit is (unfortunately) not possible.
That’s not how manufacturers are handled in cs-cart. Manufacturers are handled as Product features. This is in the Product features area of your admin product detail page.
For the imagery and Manufacturer name to appear in your customer view of the product you would have to modify the view of the product via the cart templates.
[quote name=‘tbirnseth’]That’s not how manufacturers are handled in cs-cart. Manufacturers are handled as Product features. This is in the Product features area of your admin product detail page.
For the imagery and Manufacturer name to appear in your customer view of the product you would have to modify the view of the product via the cart templates.[/quote]
Hi Guys,
I’m new to smarty and i’m trying to do something which i think should be simple here but for some reason i’m unable to get my head around it. Any ideas on how i can include Product Code(sku) to a title of product view page?
```php
{if $page_title}
{$page_title}
{else}
{foreach from=$breadcrumbs item=i name=“bkt”}
{if !$smarty.foreach.bkt.first}{$i.title}{if !$smarty.foreach.bkt.last} :: {/if}{/if}
{/foreach}
{if !$skip_page_title}{if $breadcrumbs|count > 1} - {/if}{$location_data.page_title}{/if}
{/if}
```
Thanks.
I think you want your closing if tag after the $i.title. Otherwise you will only output your double colon separator if it is the first field.