I want to add a new field in magento2 tier price. This field will contain another price. So that when we add percentage in tier price then percenatage of this custom price should be taken, not the base price. Please tell me how can I achieve this.

Thank you


for doing this feature you need to create a new custom module. Preference, extends, plugin this model as you prefer \Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\AdvancedPricing::getTierPriceStructure

inserting you custom new field. After that please create new custom table with db_schema.xml. Create a plugin after product save which handle the product save and customize this model (with Preference, extends, plugin) \Magento\Catalog\Model\Product\Attribute\Backend\TierPrice\SaveHandler for retrive the custom value.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.