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

Download Expander - How to make link in online invoice larger

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 09-20-2007, 08:49 AM
 
OpheliaPayne OpheliaPayne is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 130
 

Default Download Expander - How to make link in online invoice larger

Currently if a customer looks at their invoice online, the link to their download is teeny tiny in the invoice. It's found under the Product table, and under the product name. A lot of customers are missing it.

I would like to either make it HUGE or provide an image instead of the text link.

How would I go about doing this?

Thanks!
__________________
xCart 4.6.1
Reply With Quote
  #2  
Old 09-22-2007, 01:07 AM
 
apanda apanda is offline
 

Member
  
Join Date: Sep 2007
Posts: 24
 

Default Re: Download Expander - How to make link in online invoice larger

Did you find where to change this? I've been searching through templates and can't seem to find the right location. I did find that skin1/mail/html/order_data.tpl is the place to change the link on the printable invoice and the one that is sent via email. However, it doesn't change the invoice that shows up in the orders history area.
__________________
X-Cart Pro v4.1.8 [Linux]
Reply With Quote
  #3  
Old 09-22-2007, 01:21 AM
 
apanda apanda is offline
 

Member
  
Join Date: Sep 2007
Posts: 24
 

Default Re: Download Expander - How to make link in online invoice larger

It turns out that was the right location. The problem is that the download link is assigned the css class "SmallNote". For some reason when I changed the font size in order_data.tpl, it changed the printable version but not the version in order details. I had to remove class="SmallNote" from the link in order for font changes to show up on the order details page. I suppose another alternative would be to assign that link a different css class that is more readable.

This is what you'll be looking for in skin1/mail/html/order_data.tpl
Code:
{if $active_modules.Egoods and $product.download_key and ($order.status eq "P" or $order.status eq "C")} <br /> <a href="{$catalogs.customer}/download.php?id={$product.download_key}" class="SmallNote" target="_blank">{$lng.lbl_download}</a>{/if}

HTH
__________________
X-Cart Pro v4.1.8 [Linux]
Reply With Quote
  #4  
Old 09-29-2007, 06:53 PM
 
OpheliaPayne OpheliaPayne is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 130
 

Default Re: Download Expander - How to make link in online invoice larger

Thank you so much. I went one step further and added an image instead of text... works mucho better!
__________________
xCart 4.6.1
Reply With Quote
  #5  
Old 04-17-2008, 05:47 PM
  ScrapProfessor's Avatar 
ScrapProfessor ScrapProfessor is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 90
 

Default Re: Download Expander - How to make link in online invoice larger

Quote:
Originally Posted by OpheliaPayne
Thank you so much. I went one step further and added an image instead of text... works mucho better!

Does anyone know how I would go about adding my custom image to the invoices? (All the invoices a customer could/would see).

My image size is: 113x20 and it's called "download_button.jpg"

THANK YOU!

__________________
Joli Kirk,
"Life is not measured by the number of breaths we take, but by the number of moments that take our breath away"

X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5


AlteredCart.com - Download Expander; Product Page Downloads
BCSEngineering.com - On Sale Products; Newest Added Products
Reply With Quote
  #6  
Old 04-18-2008, 10:33 AM
  ScrapProfessor's Avatar 
ScrapProfessor ScrapProfessor is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 90
 

Default Re: Download Expander - How to make link in online invoice larger

Nevermind. I figured it out.
__________________
Joli Kirk,
"Life is not measured by the number of breaths we take, but by the number of moments that take our breath away"

X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5


AlteredCart.com - Download Expander; Product Page Downloads
BCSEngineering.com - On Sale Products; Newest Added Products
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 06:13 AM.

   

 
X-Cart forums © 2001-2020