| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Remove BONUS, SAVE, and Product Picture cells/columns from Item Description | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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: |
|||||||
#2
|
|||||||||
|
|||||||||
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 |
|||||||||
#3
|
|||||||
|
|||||||
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. |
|||||||
#4
|
|||||||||
|
|||||||||
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 |
|||||||||
#5
|
|||||||
|
|||||||
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. |
|||||||
#6
|
|||||||
|
|||||||
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} |
|||||||
|
|||
X-Cart forums © 2001-2020
|