我想在產品選項中添加上傳文件的縮略圖。從本質上講,我環顧四周計算器,發現以下頁面:Opencart - 上傳文件的縮略圖選項
Opencart - Customer uploads different files to one product with different responses from the site
不過,我不斷收到錯誤:解析錯誤:語法錯誤,意外「< <」(T_SL)在/ var /網站/ s/sortedgifts.com/public_html/vqmod/vqcache/vq2-catalog_view_theme_journal2_template_product_product.tpl on line 757
當我按照該頁面中的步驟。上線757我已經把:
if ($option['product_option_id'] == IMAGE OPTION ID) {
我想到了圖像OPTION ID是什麼需要編輯,但我有PHP和不知道它是什麼在這裏引用的小知識,我會,如果有人感激可以幫助我。
謝謝!
線757你有一個代碼'如果($選項[「product_option_id」] ==映像選ID ){'從字面上?像,字面上'圖像選項ID'?它真的來自這個文件:'/ var/sites/s/sortedgifts.com/public_html/vqmod/vqcache/vq2-catalog_view_theme_journal2_template_product_product.tpl' – shadyyx 2014-10-27 08:47:03