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

Special Offers layout - offers.php

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-26-2014, 04:09 PM
 
NeilSheridan NeilSheridan is offline
 

Advanced Member
  
Join Date: Mar 2014
Posts: 44
 

Default Special Offers layout - offers.php

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
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2014-04-27 at 8.05.03 am.png
Views:	109
Size:	114.3 KB
ID:	3762  
__________________
xCart Gold 4.7.9
reBOOT 4.7.9
Reply With Quote
  #2  
Old 04-27-2014, 05:03 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default 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>
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
tartaglia (05-02-2014)
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 12:24 AM.

   

 
X-Cart forums © 2001-2020