New answers tagged

0

Custom bundle option attributes You can set them up by setting your custom attribute to "Used in Product Listing": "Yes" Then load that attribute in the bundle option template with $selection->getYourAttribute() The bundle option template depends on your FE theme (e.g. /Magento_Bundle/templates/catalog/product/view/type/bundle/option/...


0

Get Parent Product from Child Id. protected $_productloader; protected $configurable; protected $grouped; protected $bundleSelection; public function __construct( ........................................................... \Magento\Catalog\Model\ProductFactory $_productloader, \Magento\ConfigurableProduct\Model\Product\Type\Configurable $...


1

Technically, you should be able to join catalog_product_entity and catalog_product_bundle_option_value on: catalog_product_entity.entity_id = catalog_product_bundle_option_value.parent_product_id However, if you look at the table definition for catalog_product_bundle_option_value, parent_product_id is not a key and no database-defined constraint binds it to ...


1

For Simple /vendor/magento/module-catalog/view/base/templates/product/price/final_price.phtml override on below path /app/design/frontend/theme/Magento_Catalog/templates/product/price/final_price.phtml For Bundle /vendor/magento/module-bundle/view/base/templates/product/price/final_price.phtml override on below path /app/design/frontend/theme/...


Top 50 recent answers are included