V1.7 Panda v2.4.3 - Responsive Prestashop 1.7 Theme Full

kaleske

Active member
XNullUser
Joined
Feb 10, 2019
Messages
367
Reaction score
63
Points
28
NullCash
137
Hello maybe you have newest version of theme?
 

kakoum

Member
XNullUser
Joined
Jul 3, 2019
Messages
137
Reaction score
0
Points
16
NullCash
0
Advanced Search 4 is not 100% compatible with Transformer or Panda theme on PS 1.7.x, but it's easy to fix that by adding a simple line of code :cool:

Go to /modules/pm_advancedsearch4/controllers/front/advancedsearch4-17.php and add parent::initContent(); just after parent::init(); (line 53), like this:

Original advancedsearch4-17.php file
Code:
$this->idSearch = (int)Tools::getValue('id_search');
        $this->searchInstance = new AdvancedSearchClass((int)$this->idSearch, (int)$this->context->language->id);
        parent::init();
        $this->setSEOTags();
        $this->setCriterions();


advancedsearch4-17.php after modification
Code:
$this->idSearch = (int)Tools::getValue('id_search');
        $this->searchInstance = new AdvancedSearchClass((int)$this->idSearch, (int)$this->context->language->id);
        parent::init();
/**    Transformer Fix Start   **/
        parent::initContent();
/**    Transformer Fix End     **/
        $this->setSEOTags();
        $this->setCriterions();

That's all!

Note: for those which are afraid to modify some php code (or just don't know how to do it), I have add a zip with the file already modified
(3 files: advancedsearch4-17.php (, advancedsearch4-17_original -a back-up from the original file- & advancedsearch4-17_Transformer-fix.php -a back-up from the fix-, so you can revert at any time just by renaming the file)

Optional: If you think that the look from Advanced Search 4 is somewhat ugly in your front office, go to the module Theme Editor -> Custom Code -> Custom CSS Code, and add this bunch of CSS lines:

Code:
/* ADVANCED SEARCH 4  Cosmetic Fix */  
#PM_ASBlock_1.card {border: 0px;}
.card-header {font-size:12pt;background-color: #ffff;border-bottom: 0px;padding-left:0;padding-right:0;padding-bottom:3px;}
.card-block{padding-left:0;padding-right:0;}
.PM_ASBlockOutputVertical .PM_ASCriterionsGroupTitle.h4{font-size:12pt;font-weight: normal;border-bottom:0px;padding-bottom:3px;
}

Now Advanced Search 4 fit perfectly in your Transformer or Panda theme


thanks for fix Friend
Post automatically merged:

thanks for sharing the theme i was looking for this version
 

asperon

Member
XNullUser
Joined
Nov 21, 2019
Messages
146
Reaction score
20
Points
18
NullCash
14
Nice thanks bro i will test
Post automatically merged:

Panda is still the best for ps 1.7
 
Last edited:
Top