samwrigley Posted June 12, 2009 Share Posted June 12, 2009 In the boxes (like shopping cart) how do I get rid of the default images for the top left and right corners and the arrow? If I wanted to style items (ie products) that are put into the shopping cart, how would I do that? Ive worked out how to style the headings, you add the tags before the text in english.php like <h2>Shopping Cart</h2> However you can't do that for products in english.php. Where would I put my <p> tags in that case. Also the same thing in Categories etc. I want to be able to style the text. But not sure where to put the tags in the php? Also is there anyway of getting the total shopping cart price to come up all the time. Like: Total: £0.00 (or Total: £9.99 when somethings in there). So the value of the shopping cart is always there. Thanks Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted June 12, 2009 Share Posted June 12, 2009 The boxes are diefined in /catalog/includes/classes/boxes.php. Take a look there. Don't know what you mean with styling products. But you can add styles and HTML-code to the products descrition in admin. Also a closer look at the stylesheet.css may shed some light on it. THe total of the shopping cart is always displayed by default, except it's empty (makes sense imho). But if you need it, just add some text like <br />$0.00 to the definition of BOX_SHOPPING_CART_EMPTY in your english.php Link to comment Share on other sites More sharing options...
samwrigley Posted June 12, 2009 Author Share Posted June 12, 2009 The boxes are diefined in /catalog/includes/classes/boxes.php. Take a look there. Don't know what you mean with styling products. But you can add styles and HTML-code to the products descrition in admin. Also a closer look at the stylesheet.css may shed some light on it. THe total of the shopping cart is always displayed by default, except it's empty (makes sense imho). But if you need it, just add some text like <br />$0.00 to the definition of BOX_SHOPPING_CART_EMPTY in your english.php But which part in boxes.php deletes the corner images and arrow? I've had a play around in there but cant work it out. What I mean is when theres a product in the shopping basket it displays the name (in a link to the product page) then x1 (or how ever many you have). I want to be able to style those links, so say there no underlined etc. But I dont know were to put the <p> tags in shopping_cart.php to get it to work. (<p> tags are linked to my CSS file) Also great idea on the shopping cart total. So simple. Thanks for your help! Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted June 12, 2009 Share Posted June 12, 2009 The class infoBoxHeading is where the left and right corner images aer defined. Either you replace the graphics, which is the easiest way, or you change the code where the images are inserted. To style those links, it would be easiest to add a style (i.e. class=\"cart_link\") as a parameter to the tep_href_link function call in the shopping cart box. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.