Hello,
The table view file is located at {PLUGIN_DIR}/views/frontend/price-table-fixed.php (or {PLUGIN_DIR}/views/frontend/price-table-fixed.php for percentage rules)
If you open the file, you’ll see hooks that help you add custom columns for the table:
to add header column:
do_action( 'tier_pricing_table_fixed_header_columns', $price_rules, $real_price,
$product_id );
hook for each row at the table:
do_action( 'tier_pricing_table_fixed_body_columns', $iterator, $price_rules, $real_price, $product_id );
Hope that helps.
Best,
Kolya
-
This reply was modified 5 years, 11 months ago by
Mykola Lukin.
-
This reply was modified 5 years, 11 months ago by
Mykola Lukin.
Hi Kolya,
Thanks for your reply. We actually only want an extra input field in the backend. So next to the Quantity and Price input field we want an extra input field where we can put an extra price (purchase price). How can we achieve this?
In add-price-rules-variations.php I can add an extra input field but how to save this data?
Thanks again.
Pelle