Post by cau96176 » Sat May 09, 2020 7:48 pm

Hi,

Does anyone know of a way of getting the price into the Right column in the individual product view?

I have tried things like

Code: Select all

<php.... echo $price...... 
But this throws an undefined variable error.

Is there a module that I could add in the layout in the admin
or a hardcoding way to do this?

Cheers
Last edited by straightlight on Sat May 09, 2020 9:55 pm, edited 1 time in total.

New member

Posts

Joined
Sat Feb 01, 2014 11:51 pm

Post by straightlight » Sat May 09, 2020 9:55 pm

This topic has now been moved to the OpenCart 2.0 Support > General Support section of the forum.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Sat May 09, 2020 9:56 pm

Your $price variable needs to be configured from the relative controller file as well with $data['price'].

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by cau96176 » Sat May 09, 2020 10:25 pm

Thanks..... I'll have a go at adding it to the controller.

New member

Posts

Joined
Sat Feb 01, 2014 11:51 pm
Who is online

Users browsing this forum: No registered users and 18 guests