Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Manufacturer Link On Product Details Page Rate Topic   - - - - -

 
  • Vivi
  • Member
  • Members
  • Join Date: 03-Jun 15
  • 31 posts

Posted 05 January 2017 - 01:49 PM #1

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)



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21708 posts

Posted 05 January 2017 - 01:58 PM #2

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

{if $feature.features_hash && $feature.feature_type == "ProductFeatures::EXTENDED"|enum}
<a href="{"categories.view?category_id=`$product.main_category`&features_hash=`$feature.features_hash`"|fn_url}">

with

{if $feature.feature_type == "ProductFeatures::EXTENDED"|enum}
<a href="{"product_features.view?variant_id=`$feature.variant_id`"|fn_url}">

and

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

with

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

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • Vivi
  • Member
  • Members
  • Join Date: 03-Jun 15
  • 31 posts

Posted 05 January 2017 - 07:25 PM #3

Perfect, thank you so much! :grin:



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21708 posts

Posted 06 January 2017 - 07:10 AM #4

We are glad to help you :)


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • crazyshark20
  • Junior Member
  • Members
  • Join Date: 19-Aug 09
  • 341 posts

Posted 19 October 2017 - 05:54 PM #5

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



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21708 posts

Posted 20 October 2017 - 06:50 AM #6

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • crazyshark20
  • Junior Member
  • Members
  • Join Date: 19-Aug 09
  • 341 posts

Posted 20 October 2017 - 07:20 AM #7

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?
 


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21708 posts

Posted 20 October 2017 - 01:15 PM #8

 

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • lc242
  • Member
  • Trial users
  • Join Date: 19-Nov 20
  • 19 posts

Posted 27 February 2021 - 11:33 AM #9

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

{if $feature.features_hash && $feature.feature_type == "ProductFeatures::EXTENDED"|enum}
<a href="{"categories.view?category_id=`$product.main_category`&features_hash=`$feature.features_hash`"|fn_url}">
with
{if $feature.feature_type == "ProductFeatures::EXTENDED"|enum}
<a href="{"product_features.view?variant_id=`$feature.variant_id`"|fn_url}">
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


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21708 posts

Posted 01 March 2021 - 05:10 AM #10

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • lc242
  • Member
  • Trial users
  • Join Date: 19-Nov 20
  • 19 posts

Posted 01 March 2021 - 08:50 PM #11

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



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21708 posts

Posted 02 March 2021 - 04:26 AM #12

You are welcome!


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)