• Resolved arif66

    (@arif66)


    Hello everyone,

    it is possible to add a new column next to price=

    I would like to display the base price for the number of pieces in the price table.

    for example:

    Example produkt,package contents: 10pc

    100 4,99 0,49

    200 3,99 0,39

    The base price should be calculated using the current price divided by the number of contents. For the entry of the product content i have created a field with custom field.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mykola Lukin

    (@bycrik)

    Hey @arif66,

    The plugin provides hooks that allow you to add a new column to the table.

    do_action('tiered_pricing_table/tiered_pricing/header_columns', $pricing_type, $price_rules, $real_price, $product_id )

    For adding a header column, and the following for adding a body column:

    do_action( 'tiered_pricing_table/tiered_pricing/body_columns', $pricing_type, $price_rules, $real_price, $product_id );

    The plugin also allows you to completely override the template in your theme or plugin. Here is a little guide on how to override our plugin templates: https://u2code.com/how-to-override-our-plugins-templates/

    I hope this helps.

    Plugin Author Mykola Lukin

    (@bycrik)

    Hey @arif66,

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please feel free to start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add new column’ is closed to new replies.