nestorvm00 Posted July 7, 2008 Posted July 7, 2008 Hi Im breaking my head trying to insert a little Image in the Shopping_cart Box, it is a Cart.gif that is located in the catalog/images/cart.gif. Please if anybody can help me where to locate it and how it doesnt my report and error.. I did in this line but error and error error... $cart_contents_string .= '<img src ="' . tep_image(DIR_WS_IMAGES'" . 'cart.jpg')>' . $products[$i]['quantity'] . ' x </span></td><td valign="top" class="ShoppingCartBoxContents"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">'; If this is the correct, How to make it correct, if now Where is?
nestorvm00 Posted July 7, 2008 Author Posted July 7, 2008 Hi Im breaking my head trying to insert a little Image in the Shopping_cart Box, it is a Cart.gif that is located in the catalog/images/cart.gif. Please if anybody can help me where to locate it and how it doesnt my report and error.. I did in this line but error and error error... $cart_contents_string .= '<img src ="' . tep_image(DIR_WS_IMAGES'" . 'cart.jpg')>' . $products[$i]['quantity'] . ' x </span></td><td valign="top" class="ShoppingCartBoxContents"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">'; If this is the correct, How to make it correct, if now Where is? The error Is Not by the GIF > JPG, this is and Typing error........
lindsayanng Posted July 7, 2008 Posted July 7, 2008 is the button in the correct place? are you just getting a box with a red X in it when you view your website. A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!!
nestorvm00 Posted July 8, 2008 Author Posted July 8, 2008 This is the error Im getting: Parse error: parse error in c:\archivos de programa\easyphp1-8\www\catalog\includes\boxes\shopping_cart.php on line 35 This is the Original code (with this code is ok, but without the Picture) : $cart_contents_string .= $products[$i]['quantity'] . ' x </span></td><td valign="top" class="ShoppingCartBoxContents"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">'; AND this is the code I try to modify trying to insert the image: $cart_contents_string .= '<img src ="' . tep_image(DIR_WS_IMAGES'" . 'cart.jpg')>' . $products[$i]['quantity'] . ' x </span></td><td valign="top" class="ShoppingCartBoxContents"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">'; I add this part to the original code: .= '<img src ="' . tep_image(DIR_WS_IMAGES'" . 'cart.jpg')>' What is wrong ? The Image Is located in : catalog/Images Folder.
nestorvm00 Posted July 8, 2008 Author Posted July 8, 2008 This is the error Im getting:Parse error: parse error in c:\archivos de programa\easyphp1-8\www\catalog\includes\boxes\shopping_cart.php on line 35 This is the Original code (with this code is ok, but without the Picture) : $cart_contents_string .= $products[$i]['quantity'] . ' x </span></td><td valign="top" class="ShoppingCartBoxContents"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">'; AND this is the code I try to modify trying to insert the image: $cart_contents_string .= '<img src ="' . tep_image(DIR_WS_IMAGES'" . 'cart.jpg')>' . $products[$i]['quantity'] . ' x </span></td><td valign="top" class="ShoppingCartBoxContents"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">'; I add this part to the original code: .= '<img src ="' . tep_image(DIR_WS_IMAGES'" . 'cart.jpg')>' What is wrong ? The Image Is located in : catalog/Images Folder. Any body can help to identify this error.. Im getting confused with this rigth now..
Recommended Posts
Archived
This topic is now archived and is closed to further replies.