X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Special Offers layout - offers.php (https://forum.x-cart.com/showthread.php?t=69071)

NeilSheridan 04-26-2014 04:09 PM

Special Offers layout - offers.php
 
1 Attachment(s)
Hi,

Being close to mothers day we set about creating some offers. Rather than use the standard text for displaying them I created some buttons, assigned an area map to the buttons for a "Direct" link to the category for the specials. This works well.

After viewing the "offers.php" page I noticed there was a LOT of padding between the offer buttons, and not a lot I could do to space them better.

To get around this I then created one image, assigned the hyperlink area maps to each portion of the image and change the URL of each image to go directly to the category for each special. This works well.

From what I can make out, if an offer doesn't have any text in the "Details" portion of the offer it automatically adds the name of the offer at the bottom of the page...This doesn't look very nice at all. So I placed a space in the "details" section of the remaining 3 offers to "hide" this. However it also pads out the bottom of the page with th spaces...

So, my question is...could someone please help to edit the template to remove the code from showing the name, thus removing the spaces from the page?

I've attached a screenshot of the page and spaces at the bottom hoping it would help some kind sole to stop me going crazy over this :)

URL is http://www.jepun.com.au

Thanks in advance

totaltec 04-27-2014 05:03 AM

Re: Special Offers layout - offers.php
 
skin/common_files/modules/Special_offers/customer/offers_list.tpl

Looks like line 37, try commenting out :<tt>{$offer.offer_name|escape}</tt>


All times are GMT -8. The time now is 04:26 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.