Manufacturer Link On Product Details Page

Hi!

On the product details pages I have a link to the manufacturer's other products just under the product name. However the link will only take me to the manufacturer's other products in the same category as the product. I would like to have the link point to ALL the manufacturer's items regardless of category. Is there a configuration option to achieve this..?'

(cs cart v. 4.4.2)

design/themes/THEME/templates/views/products/components/product_features_short_list.tpl

change

{if $feature.features_hash && $feature.feature_type == "ProductFeatures::EXTENDED"|enum}

with

{if $feature.feature_type == "ProductFeatures::EXTENDED"|enum}

and

{if $feature.feature_type == "ProductFeatures::EXTENDED"|enum && $feature.features_hash}

with

{if $feature.feature_type == "ProductFeatures::EXTENDED"|enum}

Perfect, thank you so much! :grin:

We are glad to help you :)

Hi one more and i think useful for everyone. Can we show category in filters

Example brand have many category can see them with number

Like This:

https://prnt.sc/gznckw

Hi one more and i think useful for everyone. Can we show category in filters

Example brand have many category can see them with number

Like This:

https://prnt.sc/gznckw

Unfortunately CS-Cart does not have filters by categories out of the box

Thanks ecomlabs

Can we do it in the edgebar or elsewhere, not in the case of filters?


Can we do it in the edgebar or elsewhere, not in the case of filters?
Can we do it in the edgebar or elsewhere, not in the case of filters?
Can we do it in the edgebar or elsewhere, not in the case of filters?

Thanks ecomlabs

Can we do it in the edgebar or elsewhere, not in the case of filters?


Can we do it in the edgebar or elsewhere, not in the case of filters?
Can we do it in the edgebar or elsewhere, not in the case of filters?
Can we do it in the edgebar or elsewhere, not in the case of filters?

No. Blocks with categories do not take into account selected brand/ feature

design/themes/THEME/templates/views/products/components/product_features_short_list.tpl

change

{if $feature.features_hash && $feature.feature_type == "ProductFeatures::EXTENDED"|enum}

with
{if $feature.feature_type == "ProductFeatures::EXTENDED"|enum}

and
{if $feature.feature_type == "ProductFeatures::EXTENDED"|enum && $feature.features_hash}
with
{if $feature.feature_type == "ProductFeatures::EXTENDED"|enum}


Thanks for this eComLabs, it works perfectly!

I have another query if you all don't mind. Because I really don't like the default Vendor pages I figured out a way to use Brand features to get all products of the same brand on a same page. So basically, when I create a brand feature (WITHOUT an image), I get now a clickable link (see
image 1) on the product detail page which redirects me to a brand's page as explained above (I followed eComLabs post).

My only problem now is when I add an image for one brand's feature. The image will be displayed on the brand's page just like image 2 (which is exactly what I want).

The problem is that the image (instead of the link) also appears on the product details page (see image 3). Although the image is clickable, it redirects me to the brand's other products in the same category as the product (just like the very first post of this topic).

So now here is my query. When I insert an image to a brand's feature:
1. I DO want the image to remains on the brand page (just as indicated in image 2):
2. I DO NOT want the image to be displayed on the product detail page (just as shown in image 3).
3. Finally I still DO want to see the link which redirects to the brand page (just as shown in image 1).
I truly believe that I need to make further modifications to the product_features_short_list file but I don't know what.
Could you please give me a hand on this one. Thanks in advance for reading this.
LC

In the mentioned template just replace

{if $feature_image && $feature.variants[$feature.variant_id].image_pairs}

with

{if $feature_image && $feature.variants[$feature.variant_id].image_pairs && false}

It should solve your problem

In the mentioned template just replace

{if $feature_image && $feature.variants[$feature.variant_id].image_pairs}

with

{if $feature_image && $feature.variants[$feature.variant_id].image_pairs && false}

It should solve your problem

Hey eComLabs,

I'm afraid you're right again. It works perfectly as I wanted.

Thank you very much. Been struggling with this for the longest time.

All the best,

LC

You are welcome!

Thanks for this tip, it works for me as well.

However, when I add a logo to the Brand, only the logo is shown and it links to my category page.

Thanks for this tip, it works for me as well.

However, when I add a logo to the Brand, only the logo is shown and it links to my category page.

Do not forget to correct href parameter of the link according to the post #2

Do not forget to correct href parameter of the link according to the post #2

I did, and it works just fine with text, but as soon as I add an image the image links to the categories.

The mentioned file contains href in two lines. Just change both of them

I have the same issue. Brand link goes to the filter and not to the brand page.

Changed the data as mentioned in:
design/themes/THEME/templates/views/products/components/product_features_short_list.tpl

Cleared cache, nothing.
I thought maybe the href is incorrect, changed this, cleared cache. Still no result.

What am I missing here?

Thank you.

kind regards,
Karin

Most possibly some addon overrides this template. Start from disabling 3rd party addons one by one

Tried it, no success. (with clearing cache in between).
Mostly standard cs cart adons, some ecom, a simple back to top addon and a payment addon. Tried all third party.

Try clearing cache manually. Delete contents of /var/cache/

1 Like