Questions tagged [add]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
39 views

Magento 2 :- How to add product on CMS page

I want to add product url as button for product programmatically. After clicking it should process for purchasing process. I want to add it on CMS or any custom page.(exactly how we can add it through ...
0
votes
0answers
17 views

Magento 2: Not able to save data in database

I am fetching customer Id from magento customer model and a data from custom page and trying to save it in databse. <?php namespace SimpleMagento\Milkman\Controller\Account; use Magento\Framework\...
1
vote
1answer
31 views

How to see where the value is set from Catalog Product details

In Admin I can see the property prodfragrance dropdown set to few values. I want to add more attribute to that? How can i do that where to edit it ? $product->getAttributeText('prodfragrance') ...
0
votes
1answer
30 views

Add content block in a page Magento 2

$listBusBlock = $listOfBuses->getLayout()->createBlock('Imonn\Bookings\Block\Buslist')->setTemplate('Imonn_Bookings::Busbooking/listOfBusses.phtml')->toHtml(); $this->getResponse()->...
0
votes
1answer
15 views

How can I add an attribute to all products?

How can I add an attribute to all products? Now i am adding this attribute to all sets. Is there a way it can be done faster?
0
votes
0answers
17 views

Remove or add any elemt from magento2 Collection?

I have order collection and i want to add one more column in this collection . How can possible ? whats the addBindParam() or addItem() method do ? /vendor/magento/module-reports/Model/...
2
votes
1answer
106 views

Magento2 Backend Not Add Product So give me Solution

Magento2 Backend Not Add Product So give me Solution Here is my EXCEPTION.LOG [2019-04-16 13:09:11] main.CRITICAL: Cannot gather stats! Warning!stat(): stat failed for /home/ywndev/domains/dev....
0
votes
0answers
19 views

How to add a product to cart via URL on a website that uses magento?

I wanto to know how to create a "add to cart link" on a website that uses magento.
0
votes
0answers
60 views

Add custom customer attribute to admin order page

I have a custom customer attribute, that I want to also be visible in order page (in admin), under "Account Information" section. What would be a good approach to this? I wanted to override the info....