Post by ameisez » Sat Feb 27, 2010 9:06 pm

Hi,

I want to remove the cart box under Product info and increase the text size of the product info in some category.

How can I do that?

Thanks.

Here's the screen to show what I wanted to do.
screen_remove_box.jpg

screen_remove_box.jpg (22.96 KiB) Viewed 978 times


Newbie

Posts

Joined
Sat Jan 30, 2010 7:45 pm

Post by bebaspromo » Sun Feb 28, 2010 3:10 am

Hi,

to remove it, open your product.tpl in
catalog/view/theme/YOURTHEME/template/product/ folder

delete :

Code: Select all

              <div style="background: #F7F7F7; border: 1px solid #DDDDDD; padding: 10px;"><?php echo $text_qty; ?>
                <input type="text" name="quantity" size="3" value="1" />
                <a onclick="$('#product').submit();" id="add_to_cart" class="button"><span><?php echo $button_add_to_cart; ?></span></a></div>
              <input type="hidden" name="product_id" value="<?php echo $product_id; ?>" />
              <input type="hidden" name="redirect" value="<?php echo $redirect; ?>" />
increasing the text size, simple way is put <span> tag, e.g text "Price:"

find : <b><?php echo $text_price; ?></b>
put
<span style="font-size: 16px;"><b><?php echo $text_price; ?></b></span>

maybe someone have better idea?

User avatar
Active Member

Posts

Joined
Tue Dec 22, 2009 9:14 pm

Post by thanaa » Tue Mar 02, 2010 12:43 am

maybe someone have better idea?
The removal sounds fine, i'd suggest you use css to increase the font sizes instead of inline styling though.

New member

Posts

Joined
Tue May 05, 2009 2:12 am
Who is online

Users browsing this forum: No registered users and 23 guests