Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
12 votes
7 answers
49k views

Magento2 : How to get product id to my custom module

I am new to magento2 and currently I'm building a custom module and i want to get the product ID/SKU from the catalog. I'm trying to call using a function located in the Block folder. please advise!
ming's user avatar
  • 125
5 votes
2 answers
18k views

How do I modify Magento rendered page before it's displayed?

I am trying to modify the rendered page content before it's displayed to the user. I would like to do this in my custom module. So far, I have tried hooking into the cms_page_render event but: it ...
Aamir's user avatar
  • 153
1 vote
2 answers
484 views

update Programtically created Product

We have 2 buttons in Product view page, after we click on 1st button, we creating Product Programtaically. once click on 2nd button [ after entering email, password] we are assigning that product to ...
user avatar
1 vote
4 answers
2k views

Overriding Mage_Catalog_Model_Product_Type

I am trying to override a model file. The file location is: core/Mage/Catalog/Model/Product/Type.php I am trying to show only simple products when creating a new product but it is not working. ...
Arul James's user avatar
0 votes
1 answer
215 views

create product after user loggedin

We have 2 buttons in Product view page, after we click on 1st button, we are creating Product Programtaically. once click on 2nd button [ after entering email, password] we are assigning the product ...
user avatar