How to get all downloadable links details from the Downloadable Product Magento 2?

Magento 2 has a native Downloadable product to support all of that product that you can deliver as a file, video, music, ebook, software-related data. You can download/purchase the product from the product detail page.

All the links related to Downloadable items will be stored in the Database table name downloadable_link. The table contains the field of product_id, no. of downloads, link_url, link_file, type of link, sample file, and type. Continue reading “How to get all downloadable links details from the Downloadable Product Magento 2?”

How to Get Selection Id by parent and child item id of bundle product in Magento 2?

Out of the box Magento supports Bundle products, You can customize the item from the given option selection and add items to a single click of add to cart.

catalog_product_bundle_selection table used to store the bundle item’s relation with the child item id, option id, qty, position of the item and default item selection from the given option. Continue reading “How to Get Selection Id by parent and child item id of bundle product in Magento 2?”

How to Get Bundle Item Parent id by option id in Magento 2?

When you are working with the Bundle Product related customization and you required to parent product id by the Option id, You can easily achieve it by the option id with some programming stuff.

Each Bundle Product generated by the combines of options selection. Each option contains the list of a product like a simple or virtual. Continue reading “How to Get Bundle Item Parent id by option id in Magento 2?”