Jump to content

[PS 1.7] ps_shoppingcart exclude shipping price from total in cart preview


Recommended Posts

Friends,

I'm using PS 1.7.2.2 with stock ps_shoppingcart module. In my site it also comes with enabled ajax cart preview option. There is no free shipping option in my store (and it wont be) so in ajax cart preview I would like to exclude shipping price. For example if the price of item is 14eur, while shipping is 2eur, it shows total of 16eur. I would like to hide shipping price until user gets to the checkout page. Any suggestions here would be very helpful. Note that i'm using PS 1.7.x

Cheers.

Link to comment
Share on other sites

  • 1 month later...
  • 4 months later...
  • 7 months later...

total remove the shipping from cart

themes\classic\modules\ps_shoppingcart\modal.tpl

remove :

              <p><strong>{l s='Total shipping:' d='Shop.Theme.Checkout'}</strong>&nbsp;{$cart.subtotals.shipping.value} {hook h='displayCheckoutSubtotalDetails' subtotal=$cart.subtotals.shipping}</p>
 

+ css (only to remove it from checkout )

div#cart-subtotal-shipping.cart-summary-line {
    display:none;
     }

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...