| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
moving coupon code box to be before the checkout button | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() My clients are complaining that the spot to add a coupon code at checkout isbelow the checkout button and they think customers miss seeing it. Is there anyway to move it to be between the total and the checkout button?
any thoughts are appreciated. erin
__________________
www.regularriches.com 4.11 on unix server but editing/working on mac (client's store) |
|||||||
#2
|
|||||||
|
|||||||
![]() Unfortunately they are two different forms...so if you move it above the checkout it screws up the checkout form. I have used a <div> with a negative margin in the past to move it up into the area to the left of the cart totals area.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() thank you I will try that
![]()
__________________
www.regularriches.com 4.11 on unix server but editing/working on mac (client's store) |
|||||||
#4
|
|||||||
|
|||||||
![]() Hi there,
I asuume this is to be edited in the cart.tpl. Can you share this <div> code? Thank you!
__________________
EB www.Suntrader.com Online Marketing & Custom Development X-Cart 4.1 PHP version 4.4.1 MySQL version 4.1.19-standard |
|||||||
#5
|
|||||||
|
|||||||
![]() I usually put the CSS into the stylesheet, but to make it easier, I've included it in the div code:
<div align="left" style="border: 1px solid #CCCCCC; width: 350px; padding: 10px; background-color: #EEEEEE; margin-top: -160px;"> {include file="modules/Discount_Coupons/add_coupon.tpl} </div> That will create a shaded box with a border, and offset it 160 pixels in the 'up' direction. Be very careful with negative margins, as IE and Firefox render them very differently. Test it out on all browser/OS combinations. This can go anywhere after the closing </form> tag in cart.tpl.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() Oops,
It messed it all up. I think this is over my head! Thank you anyways.
__________________
EB www.Suntrader.com Online Marketing & Custom Development X-Cart 4.1 PHP version 4.4.1 MySQL version 4.1.19-standard |
|||||||
#7
|
|||||||
|
|||||||
![]() Quote:
Do you know of any examples of sites who have been successful in moving the coupon code up the page? Thanks, Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#8
|
|||||||
|
|||||||
![]() Heh...neg margins can be tricky
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|