error in brand_category

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart Themeerror in brand_category

This topic has been marked as not resolved.

How can resolve this error in brand_category “Notice: Undefined index: quantity in…” ?
I want to add preorder button when quantity=0

February 7, 2013 at 1:10 pm #18329

Are you using some custom extension or modifications of yours ?

February 11, 2013 at 6:24 pm #18570

Yes, modifications is mine

February 12, 2013 at 1:27 pm #18670

Then you need to open tb_themes/shoppica2/catalog/controller/BrandCategoryController.php and add the ‘quantity’ to the products array on row 136.

You also need to modify tb_themes/shoppica2/catalog/model/productsModel.php to add the ‘quantity’ field to the database query in the getProductsByManufacturerAndCategory function.

Best,
ThemeBurn team

February 12, 2013 at 3:25 pm #18675
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.