Copied to clipboard

Flag this post as spam?

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


  • Kurt Moskjaer Andersen 40 posts 95 karma points
    Jan 30, 2018 @ 13:36
    Kurt Moskjaer Andersen
    0

    Apply discount on custom price

    Hi,

    My customer would like to have discounts applied to a custom price field on the products, instead of the normal price field.

    Is it possible at all and if so, what would be the best approach to this?

    --

    Best regards

    Kurt Moskjaer Andersen

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Jan 30, 2018 @ 14:32
    Alex Skrypnyk
    100

    Hi Kurt

    It looks like you have to write custom "Order line calculator" -

    https://docs.teacommerce.net/reference#order-line-calculator

    /Alex

  • Kurt Moskjaer Andersen 40 posts 95 karma points
    Jan 31, 2018 @ 07:43
    Kurt Moskjaer Andersen
    0

    Hi Alex,

    Thanks, I will look into it.

    I've made a local installation of my site, to debug it during development, but my cart is always empty, even though there should be items in it, so I cannot debug my custom module.

    I'm using version 3.0.10 og TeaCommerce.

    /Kurt

  • 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