Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Remove BONUS, SAVE, and Product Picture cells/columns from Item Description

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-23-2012, 09:57 PM
 
alarmsellout alarmsellout is offline
 

Member
  
Join Date: May 2009
Posts: 21
 

Default Remove BONUS, SAVE, and Product Picture cells/columns from Item Description

I changed the format for my product_details so that it shows the short description, picture, and buy now buttons at the top. The the full item description is at the bottom.

I need to remove the old picture column since I am not showing my picture in the column anymore. That field is just blank now, but I can't figure out how to remove it.

In my full detailed description below, I want to remove the SAVE and BONUS fields. Just FYI, I do want those features, but I do not want them to appear in my full item description because it takes up too much space.

I want my full description to take up as much of the field as possible.

Help removing any of these 3 things would be much appreciated. Here's what my screen looks like:
Attached Thumbnails
Click image for larger version

Name:	remove fields.png
Views:	206
Size:	92.2 KB
ID:	3136  
Reply With Quote
  #2  
Old 07-23-2012, 10:30 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Remove BONUS, SAVE, and Product Picture cells/columns from Item Description

Use webmaster mode and Firebug browser addon to find the exact template and CSS styles to be altered.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 07-24-2012, 01:27 PM
 
alarmsellout alarmsellout is offline
 

Member
  
Join Date: May 2009
Posts: 21
 

Default Re: Remove BONUS, SAVE, and Product Picture cells/columns from Item Description

Thanks, but I have been using both of those. T he main problem is I can't figure out what file this is in.

It seems that the product description is tabbed over 125px, so I can remove it in firebug and it looks perfect. BUT, I can't figure out where to modify the 125px, it's not in the main.CSS or product_details.tpl, or product.tpl.... etc..

How can I modify this:

element.style {
margin-left: 125px;
}


It doesn't seem to reference a file.

See the pictures below.
Attached Thumbnails
Click image for larger version

Name:	firebug-top.png
Views:	194
Size:	76.8 KB
ID:	3137  Click image for larger version

Name:	firebug-bottom.png
Views:	192
Size:	13.9 KB
ID:	3138  Click image for larger version

Name:	firebug-side.png
Views:	191
Size:	14.6 KB
ID:	3139  
Reply With Quote
  #4  
Old 07-24-2012, 03:05 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Remove BONUS, SAVE, and Product Picture cells/columns from Item Description

It is in product.tpl or product_details.tpl, smarty code
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 07-24-2012, 03:11 PM
 
alarmsellout alarmsellout is offline
 

Member
  
Join Date: May 2009
Posts: 21
 

Default Re: Remove BONUS, SAVE, and Product Picture cells/columns from Item Description

UPDATE! After hours of trial and error, here is the solution to remove the PICTURE field that is next to the item description.

It is in this file:
/common_files/customer/main/product.tpl

REMOVE THIS LINE:
===================

{*<div class="details"{if $max_image_width gt 0} style="margin-left: {$max_image_width}px;"{/if}>*}

===================

The field is created by how big your picture file is. So it sets that column by seeing how big your picture is. Remove this line and the column is gone... leaving lots of room for the full description. See the attached files for the result.
Attached Thumbnails
Click image for larger version

Name:	no-picture-column.png
Views:	197
Size:	65.2 KB
ID:	3140  
Reply With Quote
  #6  
Old 07-30-2012, 02:53 AM
 
alarmsellout alarmsellout is offline
 

Member
  
Join Date: May 2009
Posts: 21
 

Default Re: Remove BONUS, SAVE, and Product Picture cells/columns from Item Description

For those who wanted to know how to remove the bonus and save fields, it's in the file below:

common_files/customer/main/product_details.tpl

REMOVE THE TEXT BELOW.

{if $active_modules.Special_Offers}
{include file="modules/Special_Offers/customer/product_bp_icon.tpl"}
{/if}

{if $product.appearance.has_market_price and $product.appearance.market_price_discount gt 0}
<td align="right" valign="top">
<div class="save-percent-container">
<div class="save" id="save_percent_box">
<span id="save_percent">{$product.appearance.market_pric e_discount}</span>%
</div>
</div>
</td>
{/if}
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:53 AM.

   

 
X-Cart forums © 2001-2020