Questions tagged [programatically]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
36 views

Custom options programatically magento2

I am trying to save custom options(drop_down type) for a specific product. In my case, I need to add a custom option in the loop. My code is here $json ='{"productID":"1","productPrice":"5585.00",...
0
votes
2answers
47 views

Please give information about file path for create product programmatically magento 2

where i put file of programatically create product <?php use Magento\Framework\App\Bootstrap; include('app/bootstrap.php'); $bootstrap = Bootstrap::create(BP, $_SERVER); $objectManager = $...
0
votes
1answer
520 views

Magento 2: Cart price rule condition programmatically

I have a cart price rule whose id is 5. This rule applied for all customers and no condition applied to this. I want to make a condition on this rule is False when the payment method is ...
1
vote
0answers
117 views

How to add tracking number programmatically for shipments in magento 2.3?

I want to add the tracking numbers only for created shipment. I tried below approach and getting an error. We cannot create an empty shipment. How can i add only the tracking number ...
1
vote
1answer
35 views

Programatically Product Save with Image

This is My File Uploader in .phtml file : <input type="file" id="imageUploader" name="imageUploader"> This my PHP file code where form post. <?php namespace VendorName\ExtensionName\...