Developer forum

Forum » Development » Product Pagetitle

Product Pagetitle


Reply

In DWs eCom controlpanel its possible to overule the original pagetitle with the name of a product shown on a given page. A custom pagetitle can be added with adding &PageTitle=CustomPageTitle to a Querystring.

 

But I would like to show more than the product name as pagetitle and also avoid the "ugly" urls.

Is there a way to set a combination of several product-field, standard and custom, as the pagetitle of a productpage? Of course there is ... but how ;)

 

/M


Replies

 
Reply

There is a notification designed to do this:

Dynamicweb.Notifications.Standard.Page.PageTitle

 

However, in many cases you want to set the meta title elsewhere, e.g. through a module or a template extender. Then you'd go through the PageView object:
Dynamicweb.Frontend.PageView.Current().Meta.Title

 

 

You must be logged in to post in the forum