Jump to content

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

Hide Orders "search Options" By Default In 4.2.4 Rate Topic   * * * * * 1 votes

 
  • dirtyimpreza
  • Junior Member
  • Members
  • Join Date: 11-Apr 11
  • 22 posts

Posted 28 April 2015 - 05:50 PM #1

There has been work arounds for CS 3.X, but i am unable to figure out where to make template edits to fix this in 4.2 (there is no skins templates)?

http://forum.cs-cart...-seach-options/

Does anyone know how to keep the "Search Options" on the orders page collapsed by default? It takes up way to much space on the order screen. My customers will not want this.

Posted Image

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

Posted 29 April 2015 - 09:30 AM #2

Please try the following solution.

- Open the design\themes\YOUR_THEME\templates\views\orders\search.tpl
- Replace:

{include file="common/section.tpl" section_title=__("search_options") section_content=$smarty.capture.section class="ty-search-form"}

with

{include file="common/section.tpl" section_title=__("search_options") section_content=$smarty.capture.section class="ty-search-form" collapse=true}

- Save the file and check the result

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 руб.


 
  • dirtyimpreza
  • Junior Member
  • Members
  • Join Date: 11-Apr 11
  • 22 posts

Posted 29 April 2015 - 05:04 PM #3

Please try the following solution.

- Open the design\themes\YOUR_THEME\templates\views\orders\search.tpl
- Replace:

{include file="common/section.tpl" section_title=__("search_options") section_content=$smarty.capture.section class="ty-search-form"}

with

{include file="common/section.tpl" section_title=__("search_options") section_content=$smarty.capture.section class="ty-search-form" collapse=true}

- Save the file and check the result

Brilliant!!! eComLabs... thank you for this tip. Works exactly the way I envisioned. I just wish these "options / edits" to the templates were a bit more novice friendly.

I appreciate you taking the time to help me out. Have a great day!

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

Posted 30 April 2015 - 09:51 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    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • tolis88gr
  • Member
  • Members
  • Join Date: 20-May 14
  • 22 posts

Posted 30 December 2016 - 12:47 PM #5

How i can remove it completely?



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

Posted 04 January 2017 - 07:15 AM #6

How i can remove it completely?

 

Replace

{include file="common/section.tpl" section_title=__("search_options") section_content=$smarty.capture.section class="ty-search-form"}

with

{* include file="common/section.tpl" section_title=__("search_options") section_content=$smarty.capture.section class="ty-search-form" *}

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 руб.


 
  • tolis88gr
  • Member
  • Members
  • Join Date: 20-May 14
  • 22 posts

Posted 04 January 2017 - 04:57 PM #7

 

Replace

{include file="common/section.tpl" section_title=__("search_options") section_content=$smarty.capture.section class="ty-search-form"}

with

{* include file="common/section.tpl" section_title=__("search_options") section_content=$smarty.capture.section class="ty-search-form" *}

I replace the code but nothing happens.Menu is still there.Iam using 4.4.2

 

image.jpgimage.jpg



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

Posted 05 January 2017 - 07:26 AM #8

Did you clear cache?


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 руб.


 
  • tolis88gr
  • Member
  • Members
  • Join Date: 20-May 14
  • 22 posts

Posted 05 January 2017 - 10:12 AM #9

Yes.



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

Posted 05 January 2017 - 01:06 PM #10

Yes.

 

It works on my local installation. Try to delete the var/cache directory manually


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 руб.


 
  • tolis88gr
  • Member
  • Members
  • Join Date: 20-May 14
  • 22 posts

Posted 05 January 2017 - 04:05 PM #11

IT WORKS! Thank you!!!!



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

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


 
  • SpyreDigital
  • Junior Member
  • Authorized Reseller
  • Join Date: 01-Nov 10
  • 94 posts

Posted 13 March 2017 - 10:48 PM #13

I'm trying to remove it on my site as well, followed the suggestion above and it's still showing. Driving me absolutely crazy.



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

Posted 14 March 2017 - 05:13 AM #14

I'm trying to remove it on my site as well, followed the suggestion above and it's still showing. Driving me absolutely crazy.

 

Try to delete the var/cache directory manually


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 руб.


 
  • SpyreDigital
  • Junior Member
  • Authorized Reseller
  • Join Date: 01-Nov 10
  • 94 posts

Posted 14 March 2017 - 05:33 AM #15

Try to delete the var/cache directory manually

 

Yep, tried that too and still no luck :(
I take my hat off to the patience of web developers.



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

Posted 14 March 2017 - 08:01 AM #16

Yep, tried that too and still no luck :(
I take my hat off to the patience of web developers.

 

PM me temporary access, we will check


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 руб.