I am trying to add a thumbnail image of the uploaded file on a product option. Essentially, I have looked around stackoverflow and found the following page:
Opencart - Customer uploads different files to one product with different responses from the site
However, I keep getting the error: Parse error: syntax error, unexpected '<<' (T_SL) in /var/sites/s/sortedgifts.com/public_html/vqmod/vqcache/vq2-catalog_view_theme_journal2_template_product_product.tpl on line 757
when I follow the steps within that page. On line 757 I have put:
if ($option['product_option_id'] == IMAGE OPTION ID) {
I am thinking that the IMAGE OPTION ID is what needs to be edited but I have little knowledge of php and no idea what it is referencing here, I would be grateful if someone can help me out.
Thanks!
if ($option['product_option_id'] == IMAGE OPTION ID) {
literally? Like, literallyIMAGE OPTION ID
? And is it really from this file:/var/sites/s/sortedgifts.com/public_html/vqmod/vqcache/vq2-catalog_view_theme_journal2_template_product_product.tpl
– shadyyx