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

Shipping calculator button problem

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-05-2011, 07:20 PM
 
underground underground is offline
 

Newbie
  
Join Date: Oct 2010
Posts: 4
 

Default Shipping calculator button problem

I had the Free X-cart Shipping Estimator installed recently and have one
small issue with it.
Once a product is added to cart, on the first cart page
where the customer can calculate the shipping for the item, it currently displays my "Add to Cart" button instead of a "Calculate Shipping" button.
It would obviously be more appropriate if the button displayed said calculate shipping.
How would i go about changing this so that the calculate shipping button appears there only?

p.s im quite a noob but learning quickly

Thanks
Nick
__________________
X-Cart Gold 4.2.2

www.undergroundelite.com.au/home.php
Reply With Quote
  #2  
Old 05-06-2011, 03:24 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Shipping calculator button problem

You need to modify the template this was added to and change the call for the button - its title
Ok its actually th eimage you are showing. You have this in the code

Code:
<button class="button" type="button" title="Calculate Shipping" onclick="javascript: document.forms['cartform'].submit()" style="height:40px;"> <span><span><!--Calculate Shipping<a href="" class="see-details"><img src="/skin1/images/btn-view-details.gif" /></a>&nbsp;--><img src="/skin1/images/btn-add-to-cart.gif" width="132" height="32" border="0"></span></span>

You want to change it to show the calcualte shipping image and not the add to cart image. Also do not use html comment in the template files to comment out smarty code - use {* code here *}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
underground (05-07-2011)
  #3  
Old 05-07-2011, 07:06 PM
 
underground underground is offline
 

Newbie
  
Join Date: Oct 2010
Posts: 4
 

Default Re: Shipping calculator button problem

Thanks Steve. Have sent you an email.
__________________
X-Cart Gold 4.2.2

www.undergroundelite.com.au/home.php
Reply With Quote
  #4  
Old 05-08-2011, 10:16 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Shipping calculator button problem

Replied
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
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 10:31 PM.

   

 
X-Cart forums © 2001-2020