[Skip to main content](#vessel-content)

#   Apply default characteristic to product name

##

- **[lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")**
- [![lionelmnr's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4601-lionelmnr "View lionelmnr's Profile") Topic Author
- [ Offline](/forum/user/4601-lionelmnr)

Less More

- Posts: 18
- Thank you received: 0
-
-
-
-

14 years 1 month ago [\#71445](#71445) by [lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")  *[Apply default characteristic to product name](/forum/4-how-to/71445-apply-default-characteristic-to-product-name#71445 "Hi  I have products that are available in CD,DVD,BOOK,DOWNLOADABLE etc. These are my characteristics.  On the home page when you click on a product called &quot;Soon And Coming&quot; it takes you to that product where the name is &quot;Soon And Coming&quot; but when you select a media type described above, it will add that to the name ex i want CD it will become &quot;Soon And Coming: CD&quot; which is awesome. Is there away how ever to make the name append after you click the product from the front page to the default characteristic so that when you view the product it that shows the name &quot;Soon And Coming: CD&quot; if that is currently selected as a characteristic. hope this ins't to confusing  Thanks")* was created by *[lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")*

Hi

I have products that are available in CD,DVD,BOOK,DOWNLOADABLE etc. These are my characteristics.

On the home page when you click on a product called "Soon And Coming" it takes you to that product where the name is "Soon And Coming" but when you select a media type described above, it will add that to the name ex i want CD it will become "Soon And Coming: CD" which is awesome. Is there away how ever to make the name append after you click the product from the front page to the default characteristic so that when you view the product it that shows the name "Soon And Coming: CD" if that is currently selected as a characteristic. hope this ins't to confusing

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNDQ1LWFwcGx5LWRlZmF1bHQtY2hhcmFjdGVyaXN0aWMtdG8tcHJvZHVjdC1uYW1lP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

14 years 1 month ago [\#71624](#71624) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Apply default characteristic to product name](/forum/4-how-to/71445-apply-default-characteristic-to-product-name#71624 "Hi  I have products that are available in CD,DVD,BOOK,DOWNLOADABLE etc. These are my characteristics.  On the home page when you click on a product called &quot;Soon And Coming&quot; it takes you to that product where the name is &quot;Soon And Coming&quot; but when you select a media type described above, it will add that to the name ex i want CD it will become &quot;Soon And Coming: CD&quot; which is awesome. Is there away how ever to make the name append after you click the product from the front page to the default characteristic so that when you view the product it that shows the name &quot;Soon And Coming: CD&quot; if that is currently selected as a characteristic. hope this ins't to confusing  Thanks")*

Hi,

To always display the name with the variant, edit the view "product / show_default" in HikaShop &gt; Display &gt; Views and remove the code: Code:

if (hikashop_getCID('product_id')!=$this-&gt;element-&gt;product_id &amp;&amp; isset ($this-&gt;element-&gt;main-&gt;product_name)) echo $this-&gt;element-&gt;main-&gt;product_name; else

At the top of the file.

The following user(s) said Thank You: [lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNDQ1LWFwcGx5LWRlZmF1bHQtY2hhcmFjdGVyaXN0aWMtdG8tcHJvZHVjdC1uYW1lP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.046 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
