2

I am running CartThrob and using Live shipping rates. The problem I have run into is if I have one product in the cart and I have Shipping Disabled for that product the live rates plugin is still showing shipping options.

How do others get around this?

CartThrob 2.2.2 EE 2.5.3

Shipping: <select name="shipping_option">
{exp:cartthrob:get_shipping_options}
    <option value="{rate_short_name}" {selected}>{rate_title} - {price}</option>
{/exp:cartthrob:get_shipping_options}

2

You might need to wrap your code for the live rates in a cart_info tag and then check the value of shipping first, e.g.

 {exp:cartthrob:cart_info}
   {if cart_shipping>0}
       live rates code here
   {/if}
 {/exp:cartthrob:cart_info}
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.