I’m trying to create a simple Product by Rest API. Response.Status = Unauthorization Here is my code public void CreateProduct() { // Token = this.GetAdminToken("admin", "1234567"); var request = CreateRequest("/rest/V1/products", Method.POST, Token); var product = new M2Product(); product.Sku = "BA3245"; product.Name = "PRoductx"; product.Price = 100; product.Status = 1; product.Visibility […]
Magento2
I made a new installation of Magento 2.2.3, everything is working just fine. However, when I do pass an order this error msg shows up: An error occurred on the server. Please try to place the order again. when I checked the log, this is the detailed msg: Registry key […]
I am building a custom theme and i need to change the configurable products “Add to Cart” button label to “See Options” in category page. Only for the configurable product. Please help, Thanks
I have a product attribute with multi select with many options. Users wish to use the mass/bulk update on the product grid to add a new option to a set of existing products. However when this is used it sets each product with the selection defined by the mass update […]
I want to know how we can use our custom fonts rendering inside email template. I searched a lot to this answer but didn’t find how to do that. So far I have already changed the content of email-fonts.css and email-inline.css and put my font-face declaration in the email-fonts.css file. […]
Trying to do a bulk product attribute update in the magento GUI and feedback is that the message is queued. Messages in the database table queue_message seem right, the logs and a manual php bin/magento cron:run have the message: queue:consumers:start [--max-messages MAX-MESSAGES] [--batch-size BATCH-SIZE] [--area-code AREA-CODE] [--pid-file-path PID-FILE-PATH] [--] In […]
When i do a google search for our products and click the link redirects to /search/ instead of the actual product. Some are working and some are not. I would appreciate some help on this issue.
Magento 2.2.2 I have in my view.phtml the following code /app/design/frontend/mytheme/shop/Magento_Catalog/templates/product view.phtml $img1 = $products->getResource()->getAttribute('icon_image_1')->getFrontend()->getValue($_product); $label1 = $products->getResource()->getAttribute('icon_image_label_1')->getFrontend()->getValue($_product); $img11 = $url . "/catalog/product/" . $img1; Magento 2.2.2 < ?php if ($img1 != 'no_selection' && $img1 != ''): ?>