binshops / prestashop-rest

PrestaShop REST API module to expose your PrestaShop website's REST endpoints

Home Page:https://www.binshops.com/prestashop-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bootstrap.php

langziyang opened this issue · comments

line 66

change
$id_shop = (int) $this->shop->id;

to
$id_shop = (int) $this->context->shop->id;

what's you ps version?

what's you ps version?

ps version is 1.7.8.2

but i think each version "shop","customer","cart","language" must use $this->context-> to get it, right?

will be changed. Thanks