Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. $objectManager = MagentoFrameworkAppObjectManager::getInstance();
  2.  
  3. $taxCalculation = $objectManager->create( 'MagentoTaxModelCalculationRate' )->load( $_product->getTaxClassId() , 'tax_calculation_rate_id' );
  4. echo $_product->getAttributeText('tax_class_id');
  5. echo $taxCalculation->getCode();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement