Problems with prestashop 1.5.3.1 integration

yair2013

New member
Hi,

I'm testing the module for prestashop and found 3 issues:

it gave two warnings:
Notice: Use of undefined constant PS_ADMIN_DIR - assumed 'PS_ADMIN_DIR'
and
Notice: Undefined property: AdminWebRotate360::$controller_type

So I had to fix it in admin_x\tabs\AdminWebRotate360.php:
line 2:
Code:
include_once( _PS_ADMIN_DIR_.'/../classes/AdminTab.php');

and add line 13:
Code:
$this->controller_type = 'admin';

The issue I'm still having is that I can see the rotating shoe in the default theme but not in my theme. My theme has <div id="image-block"> but nothing shows up there.

Any help is appreciated

Yair
 

WebSupport

Active member
Hi Yair, thanks for posting your solution and the pretty sample on our forum. The first two changes that you did is something we have discovered also after Prestashop 1.5.2 got released (these updates will be integrated in the upcoming 3.5 integration) although some folks on 1.5.3 installed our 360 viewer add-on fine without any additional changes. The difference is probably due to upgraded 1.4.x - 1.5.x installations..

And the last fix I guess is specific to your custom theme so all should be fine now.

Let us know if any questions going forward.
 
Top