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

custom add to cart button

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #21  
Old 07-21-2010, 03:05 PM
 
Tdeviant Tdeviant is offline
 

Member
  
Join Date: Jul 2010
Posts: 25
 

Default Re: custom add to cart button

Thanks, but It needs to be,

IF THIS HTML -
<div class="nav_bottom">&nbsp;</div>
</div>

<div id="login">
<div class="nav">
<div class="nav_main" style="min-height:35px;">
{if $login eq "" }
{include file="customer/auth.tpl" }
{else}
{include file="customer/authbox.tpl" }
{/if}
{include file="customer/news.tpl" }
{if $active_modules.XAffiliate && $config.XAffiliate.partner_register eq 'Y' && $config.XAffiliate.display_backoffice_link eq 'Y'}
{include file="partner/menu_affiliate.tpl" }
{/if}
{if $active_modules.Interneka}
{include file="modules/Interneka/menu_interneka.tpl" }
{/if}
{include file="poweredby.tpl" }
</div>
</div>

ELSE - 'Nothing'

as the style is shoming up unless this whole section is in the statement.
__________________
Helping the world turn
X-Cart version 4.3.2
Reply With Quote
  #22  
Old 07-21-2010, 03:11 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: custom add to cart button

Sorry, I added it inside because I figured it was just overlayed. Though, I'm a bit iffy because it has the poweredby.tpl file included there? I don't think that's by default so I'll just assume you added it in there.

Try this one:


Code:
{if $main neq 'need_login'} <div class="nav_bottom">&nbsp;</div> </div> <div id="login"> <div class="nav"> <div class="nav_main" style="min-height:35px;"> {if $login eq "" } {include file="customer/auth.tpl" } {else} {include file="customer/authbox.tpl" } {/if} {include file="customer/news.tpl" } {if $active_modules.XAffiliate && $config.XAffiliate.partner_register eq 'Y' && $config.XAffiliate.display_backoffice_link eq 'Y'} {include file="partner/menu_affiliate.tpl" } {/if} {if $active_modules.Interneka} {include file="modules/Interneka/menu_interneka.tpl" } {/if} {include file="poweredby.tpl" } </div> </div> {/if}
__________________
- Shane Munroe
Reply With Quote
  #23  
Old 07-21-2010, 03:26 PM
 
Tdeviant Tdeviant is offline
 

Member
  
Join Date: Jul 2010
Posts: 25
 

Default Re: custom add to cart button

Thank you Tal, works perfectly, your a legend!
__________________
Helping the world turn
X-Cart version 4.3.2
Reply With Quote
  #24  
Old 08-11-2010, 04:02 PM
 
SID357 SID357 is offline
 

eXpert
  
Join Date: May 2010
Posts: 205
 

Default Re: custom add to cart button

Quote:
Originally Posted by Tdeviant
Thank you Tal, works perfectly, your a legend!

roger that
Reply With Quote
  #25  
Old 12-20-2010, 06:04 AM
  isaels@i-artsupplies.co.u's Avatar 
isaels@i-artsupplies.co.u isaels@i-artsupplies.co.u is offline
 

Advanced Member
  
Join Date: May 2010
Posts: 67
 

Default Re: custom add to cart button

Quote:
ok, so 4.3.2 is a bit different than older version since it has all the ajax functions.

The button now has 3 states, the default state, the being added, and added states.

Im using 4.3.2, and my button only seems to have one state. Anyone any ideas if there is there a setting I need to change for this?
__________________
Paul Wallace

X-Cart Gold 4.3.2
Php5.3.8
MySQL 5.1.56

Backorder/PreOrder
SEO All in one CDSEO
Wholesale Option Pricing
Gift Cert Recovery
Password Recovery
CompanyLogo Alt Tag
Smart Search - ALtered Cart
On Sale - Altered Cart
Sitemap
MM One page checkout
order page emailer

Remember Anomymous Carts
Website CM Speed Opitmisation

iartsupplies.co.uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:16 AM.

   

 
X-Cart forums © 2001-2020