Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • rich hamilton 117 posts 136 karma points
    Nov 28, 2012 @ 13:16
    rich hamilton
    0

    Quick xslt that displays <Procceed to Checkout> button when there are items in cart

    Quick xslt that displays <Procceed to Checkout> button when there are items in cart.

    Maybe it can appear with javascript once item is added and always show when there are items in cart.

    But I have the minicart on the page too and don't want to break that.

     

    Many thanks

  • Rune Grønkjær 1303 posts 2895 karma points
    Nov 29, 2012 @ 08:58
    Rune Grønkjær
    0

    Hi Rich,

    You will need the link to the checkout page, some css that will hide it, some xslt that sets a class "items0" where 0 is the total quantity from the Tea Commerce order.

    Then you just have to go to the teaCommerce_Simple.js and update your class in the updateMiniCartUI function, which will be run whenever the order has changed.

    /Rune

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies