X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Shipping calculator button problem (https://forum.x-cart.com/showthread.php?t=59226)

underground 05-05-2011 07:20 PM

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

cflsystems 05-06-2011 03:24 AM

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 *}

underground 05-07-2011 07:06 PM

Re: Shipping calculator button problem
 
Thanks Steve. Have sent you an email.

cflsystems 05-08-2011 10:16 AM

Re: Shipping calculator button problem
 
Replied


All times are GMT -8. The time now is 07:21 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.