Jump to content

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

Remove "sorting" Bar On Category Pages Rate Topic   - - - - -

 
  • Mikew
  • Advanced Member
  • Members
  • Join Date: 01-Mar 13
  • 58 posts

Posted 04 March 2019 - 07:56 PM #1

Hello,

 I'm trying to completely remove the "Sorting" bar that is at the top of the category pages. Anyone know how to accomplish?

 

Using latest version of CS-Cart

 

Thank you for any feedback!

Mike


Mike W.
www.laserengravedmemories.com

www.christianplaques.com (Not yet live)


 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 705 posts

Posted 04 March 2019 - 08:21 PM #2

Hello Mikew

 

You should add in file

 

/themes/responsive/templates/blocks/product_list_templates/products_multicolumns.tpl

 

line:

no_sorting=true

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl

 
  • Mikew
  • Advanced Member
  • Members
  • Join Date: 01-Mar 13
  • 58 posts

Posted 05 March 2019 - 12:43 AM #3

Hello Mikew

 

You should add in file

 

/themes/responsive/templates/blocks/product_list_templates/products_multicolumns.tpl

 

line:

no_sorting=true

 

Best regards

Robert

Hello, thank you for your reply. I tries adding the code as shown below but it didn't seem to help. Maybe I did something wrong?
 
{** template-description:tmpl_grid **}
 
{include file="blocks/list_templates/grid_list.tpl"
show_name=true
show_old_price=true
show_price=true
show_rating=true
show_clean_price=true
show_list_discount=true
show_add_to_cart=$show_add_to_cart|default:false
but_role="action"
show_discount_label=true
no_sorting=true}

Mike W.
www.laserengravedmemories.com

www.christianplaques.com (Not yet live)


 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4519 posts

Posted 05 March 2019 - 01:48 AM #4

clear your cache and also template cache 

 

/admin.php?dispatch&ctpl


Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


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

Posted 05 March 2019 - 05:24 AM #5

As alternative just add the following code to the CSS section of the Theme editor

.ty-sort-container {
    display: none !important;
}

These changes will not be lost during upgrade


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    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • Mikew
  • Advanced Member
  • Members
  • Join Date: 01-Mar 13
  • 58 posts

Posted 05 March 2019 - 04:57 PM #6

clear your cache and also template cache 

 

/admin.php?dispatch&ctpl

Thank you Johnbol1. Forgot to do that. It works now


Mike W.
www.laserengravedmemories.com

www.christianplaques.com (Not yet live)


 
  • Mikew
  • Advanced Member
  • Members
  • Join Date: 01-Mar 13
  • 58 posts

Posted 05 March 2019 - 04:58 PM #7

As alternative just add the following code to the CSS section of the Theme editor

.ty-sort-container {
    display: none !important;
}

These changes will not be lost during upgrade

Thank you for the alternative. This seems like it may be the best option upgrade wise. Thanks again!


Mike W.
www.laserengravedmemories.com

www.christianplaques.com (Not yet live)


 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1247 posts

Posted 06 March 2019 - 04:41 AM #8

The solution to hide is very good visual, but the links are still there and is not so good for SEO

a better solution also upgrade ready is to override sorting.tpl

 

#add file

design/themes/[THEME_NAME]/templates/addons/my_changes/overrides/views/products/components/sorting.tpl

#content

 

* My Changes add-on is required to be active in order for this tweak to work



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

Posted 06 March 2019 - 05:15 AM #9

Sorting links have the nofollow parameter, so it should not be a problem for seo


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    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.