tomliuwhite Posted August 11, 2006 Share Posted August 11, 2006 in catalog/includes/classes/shopping_cart.php, around 249, i saw this code: if (isset($this->contents[$products_id]['attributes'])) what is the meaning of this line? Many thanks in advance! Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted August 11, 2006 Share Posted August 11, 2006 it means that the code checkes whether that product has been assigned attributes (size, color) when added to the cart :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
tomliuwhite Posted August 11, 2006 Author Share Posted August 11, 2006 it means that the code checkes whether that product has been assigned attributes (size, color) when added to the cart I got it. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.