Post by scruft » Sat May 11, 2013 8:02 pm

Hi, I'm trying to use the stock_status field from model/product/product.php in view checkout/cart.tpl - it seems that other fields are already being used from the product model in this file, but when I try to reference $product['stock_status']; it throws an undefined index error.

I've looked at the information on here about the MCV architecture and understand the structure, I just don't know what I'm supposed to do to make this field available in the cart. I've also looked at a number of posts about users adding brand new fields, and I've tried to follow along as best I could given that I'm using different files, but still no luck.

Any help is greatly appreciated.

Thanks :-)

Newbie

Posts

Joined
Wed Nov 16, 2011 8:02 am
Location - Cairns, Qld, Australia
Who is online

Users browsing this forum: No registered users and 44 guests