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 6163 posts 24143 karma points MVP 8x 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

Please Sign in or register to post replies

Write your reply to:

Draft