Jump to content

Edit History

ps8modules

ps8modules

1 hour ago, ComGrafPL said:

Last step gets me error: Parse error: syntax error, unexpected '$product' (T_VARIABLE), expecting function (T_FUNCTION) or const (T_CONST)

On line:

$product = new Product((int)Tools::getValue('id_product'), false, $this->context->language->id);

But i haven't edit this line, so not sure.

I asked you if you have a default "classic" template. you said yes.
It's not true. You are using another template.
Do you use warehouse theme?

You need to show us the product.tpl file

 

ps8modules

ps8modules

1 hour ago, ComGrafPL said:

Last step gets me error: Parse error: syntax error, unexpected '$product' (T_VARIABLE), expecting function (T_FUNCTION) or const (T_CONST)

On line:

$product = new Product((int)Tools::getValue('id_product'), false, $this->context->language->id);

But i haven't edit this line, so not sure.

I asked you if you have a default "classic" template. you said yes.
It's not true. You are using another template.
Do you use warehouse theme?

I installed the module and here is the result in the classic template.

obrazek.thumb.png.0b081ab55bd8d7f0da7010144231aa52.png

×
×
  • Create New...