(0)

XT:Commerce navtrail – change display of article number to article name

The standard installation of XT:Commerce 3.04 SP2.1 will show only the article number in the navtrail bar. This is quite annoying and also not very SEO optimized. Therefore here’s a small hack that will display the name of the article in the navtrail instead of the – mostly irritating and ugly article number:

Open includes/application_top.php and find this line:


$breadcrumb->add($product->getBreadcrumbModel(), xtc_href_link(FILENAME_PRODUCT_INFO, xtc_product_link($product->data['products_id'], $product->data['products_name'])));

Change it to this line:


$breadcrumb->add($product->data['products_name'], xtc_href_link(FILENAME_PRODUCT_INFO, xtc_product_link($product->data['products_id'], $product->data['products_name'])));

That’s it :) Your shop now displays the article name in the navtrail ;)

Filed under: XT Commerce — admin @ 9:48 am
 

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

copyright © 2010 artViper designstudio, all rights reserved

Latest twitter news

web | Tue Mar 16

Website SEO strength #seo #website #check http://www.artviper.net/websitecheck/website-check.php - test your website's SEO optimization

oneview_de | Mon Mar 15

Feinste Maultaschen sowie viele Brotaufstriche gibts bei Fechters - sehr empfehlenswert. http://www.oneview.de/url/113355486/

web | Mon Mar 15

#Maultaschen - www.fechters.com - delicatessen trade - real nice food!

Random posts

08-02-23 | mooDBToolTip - DB driven tooltips with AJAX a ...

mooDBToolTip is an AJAX & PHP driven solution to populate a toolTip for a specific link or tag in your website automatic...

09-09-19 | Product Slider - AJAX based content slider ...

The XTC Product Slider is fully ajax based and can hold as many products as you like. Products can be slid from left to ...

09-09-18 | SEO Optimization ...

Of course, as part of our professional website design service, we offer search engine optimization. However, our SEO se...