All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

How change quote table customer_note column type to text

I tried to update the quote table customer_note column type to text using setup script and schema patch. Column type updated after run setup:upgrade but when I run setup:upgrade the second time then ...
1
vote
2answers
790 views

Magento : How To Add an Attribute to Static Block

How to add attribute to static block. I am not looking for code, but also where put code. Assume attribute is named test and static block name sttest. I have search on this, but always get lost on ...
0
votes
1answer
19 views

Magento2 Cart prices Multi Currency store

I have an online store with 3 different currencies. I fetch the prices of each product from an external web-service. A weird thing is happening, when I switch the currency from the store, the prices ...
0
votes
0answers
3 views

Is their an interface for using the Bulk API within a Magento2 module?

Is their an interface for using the Bulk API within a Magento2 module? I'm trying to identify how I can programmatically modify large numbers of products.
1
vote
1answer
31 views

Get all products without image using rest API in Magento 2

Is it possible to get all the simple products that do not have a product image assigned using the rest API? What I would like is a product list with skus. Thanks.
4
votes
1answer
2k views

How to capture automatically Paypal authorization payment?

The payment action of PayPal it's set to authorization (I need it, I can't set to sale), therefore then I need to capture the payment. I know that I can do it manually from the invoice sending page, ...
0
votes
4answers
27 views

Cache Types are Invalid. How can i resolve this permanently?

Error: One or more of the Cache Types are invalidated: Configuration, Page Cache. Please go to Cache Management and refresh cache types. How can i resolve this permanently?
0
votes
0answers
5 views

Checking if customer is login not refreshing

Now I implement the code below use Magento\Framework\App\Helper\AbstractHelper; use Magento\Customer\Model\Session; use Magento\Framework\App\Http\Context as AuthContext; class Customer extends ...
0
votes
1answer
11 views

How to get items tax_amount in magento 2.3 collectTotals()

All data I need in my module visible in next print print_r($quote->collectTotals()->debug()); Output is show me Array ( [entity_id] => 3 [store_id] => 1 [...
0
votes
2answers
805 views

How Can Override Block (\Magento\Catalog\Block\Product\View\Options\Type\Select.php)

<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference ...
3
votes
2answers
2k views

Enable Guest checkout in magento admin order create

I was wondering if it is possible and feasible to do. I am in a need of Guest Checkout for admin order checkout. Anyone have any idea, please suggest.
1
vote
1answer
105 views

Redirect to login with add cart button for guest user

I'm trying to redirect guest users to the login page when they click on the Add to Cart button and they are not registered. But I can't do it. I am using an Observer with the following event <...
0
votes
0answers
8 views

Magento 2.3.2 - “Saving & Duplicating” a product also duplicates the images

Steps to reproduce: Create a product with a couple of images. Save & Duplicate Delete one of those images Save & Duplicate You should see something similar to the below screenshot: https://...
2
votes
2answers
219 views

How to fetch post method xml data in Magento2 controller

We have to implement the punchout concept in magento2. There is a 3rd party system they will send data using the cXML format to Magento 2 endpoint. We need to fetch that data in the Magento2 & ...
0
votes
0answers
14 views

magento 2 checkout page shipping address validation not working after applying advanced js bundling

I have applied advanced js bundling. Everything works fine except shipping address validation on the checkout page. After applying bundling checkout page shipping address validation is not working ...
0
votes
1answer
721 views

Image Background Gets Black after installing patch SUPEE-9767

I have installed patch SUPEE-9767 on 1.9.2.1 store, Now the new products images is having a black color around it. I attached a sample product image. I have tried this fix Watermark get black ...
0
votes
2answers
18 views

Why do I still need to regenerate static content in developer mode?

I've noticed that in developer mode whenever I enable an extension, or a theme, I will have to regenerate the static content. Here's an example of such a case. According to the magento 2 ...
0
votes
1answer
14 views

Error Being Caused by Observer Extension in Magento 2

I am currently using an instance of Magento 2.3.2 I have now implemented the following code in the app > code folders: registration.php file inside GroupSite/SiteSwitch/ <?php \Magento\...
0
votes
1answer
17 views

Certification courses

I would like to organise some courses in Magento for my team. i'm searching about free online courses or ressources and test sample In advance thank you
1
vote
1answer
684 views

How to check the category collection is empty or not in magento 2?

I am getting the subcategories of a main category like this(this file is in root folder) use \Magento\Framework\App\Bootstrap; include('app/bootstrap.php'); $bootstrap = Bootstrap::create(BP, $...
0
votes
0answers
4 views

How to display totals table twice on checkout in magento 2?

I want to display totals table twice on chcekout. I've copied <item name="totals" xsi:type="array"> <item name="component" xsi:type="string">Magento_Checkout/js/view/summary/totals&...
0
votes
0answers
14 views

Magento 2 - Display all products on homepage

I'm trying to add a overview of all products with filter on the Homepage of my Magento store. I followed the following tutorial from PHP Cuong which I got up and running. https://github.com/php-cuong/...
0
votes
0answers
6 views

Force 1column Grouped Product Layout [duplicate]

I'm trying to set the grouped product template so that the products table is on a new row at full-width. At first, I added app/design/frontend/Trey/Theme/Magento_GroupedProduct/layout/...
0
votes
0answers
6 views

Magento 2 joinField custom $bind?

Summary I joined a field with the joinField function like this: $_productCollection->joinField('qty_new', 'cataloginventory_stock_item', 'qty', 'product_id=entity_id', '{{table}}.stock_id=1', '...
2
votes
3answers
5k views

Magento 2 REST API returns only default category and its children

I am using "rest/V1/categories/" (Magento 2 Rest API). In documentation(devdocs.magento.com/swagger/#) it says "Retrieve list of categories" but it only returns default category(and its all children) ...
0
votes
0answers
5 views

Magento2.3: How to hide the validation message after user fill in the data?

I want to hide the validation message "This is a required field" when the user fill in the input field. In my case, the validation message is still appearing even after the user filled the input. So,...
1
vote
2answers
1k views

When we add custom form field in Shipping Address form in Magento2 checkout page,it doesnot reflect in frontend

I am using Magento 2.2.3. I tried "How to add new Shipping address form field in Checkout Page".Below is my code. Vendor/Theme/registration.php <?php \Magento\Framework\Component\...
1
vote
1answer
14 views

Magento2 - Get “Sort By” value in catalog search page

How get Sort By value Relevance in this page. Using $productListToolbar return only price, name, position value, but I need relevance. Attached the Screenshot here.
1
vote
0answers
9 views

Custom Form Call using CMS page will not show Magento 2 Captcha code

When i call form using direct URL http://192.168.1.35/m234/customemail/index/index OR http://192.168.1.35/m234/customemail/ it will show Captcha code but when i call this same form using CMS page like ...
0
votes
0answers
22 views

Magento 2 upgrade estimate - sanity check [closed]

I've been quoted two vastly different estimates (in days) for an upgrade from Magento 2.2.8 to Magento 2.3.x (latest). There are some custom modules and integrations to CRM. Now, I realise without ...
0
votes
3answers
30 views

Magento 2: How to show amount at the bottom?

Currently, toolbar amount is showing at the top in the product listing page. And I want to show this at the bottom in the product listing page. Items 1-8 of 32 Is there any way to do this without ...
1
vote
2answers
39 views

M2: How to get total stock qty

I will try get total stock product qty. I use this below code: <?php echo "Total qty: "; ?> <?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $...
1
vote
0answers
11 views

Payment API for mobile App

We are planning to develop native apps for magento2 website.Currently we're using paytabs as payment method no other options for now. Here's module if you want to take a look. Module it self using ...
0
votes
0answers
21 views

Error: Nesting error: image_url vs. image_url

Getting below error when enable welt pixel search optimization(https://www.weltpixel.com/magento-2-speed-optimization-advanced-js-bundling.html) module in my website: Error: compiler.js:217 ...
0
votes
0answers
12 views

Magento 2.3.3 - Checkout will not full load for 1 in 200 customers

We recently upgraded from 2.3.0 to 2.3.3, we have received a few phone calls from customers unable to checkout as the ajax progress bar just loads infinitely on the checkout page. This seems to be ...
0
votes
1answer
699 views

json encode in magento 2

I just wanted to know that what is the right way to print array data into json format. I Know we can use php function json_encode() but is this the right way to print array data? Because i saw one of ...
0
votes
0answers
15 views

Sort Magento 2 Text Swatches Options

I want to make swatches in sorting in natural sorting order. Like using below PHP function: "strnatcasecmp" I know it can be done through admin like drag and drop to size/color option. But I only ...
0
votes
0answers
37 views

UI component Filter with category collection Magento2

I am implementing Grid for categories collection using UI component. I have used the following code Vendor/Module/view/adminhtml/layout/vendor_index_index.xml <body> <...
0
votes
0answers
13 views

Magento 2.3 adwords don't work

So I follow this guide to set up my AdWords: https://docs.magento.com/m2/ce/user_guide/marketing/google-adwords.html There are a couple of issues 1, first my AdWords snippet doesn't contain ...
0
votes
1answer
33 views

Magento 2 showing category in homepage with products using enable/disable attributes

How to get the all custom category on homepage with products. I want to create these types, Please check screens-short:- https://prnt.sc/r5b2q5 Showing this category:- Above category showing this ...
0
votes
0answers
10 views

Send Order internal notification email when a specific Customer Group has placed an order

I am aware that you can CC a new order email in Magento to go to a specified email address. But I would like to send a specific email to an internal email address assigned to a Customer Group (for ...
0
votes
2answers
33 views

Magento2: Create Module without Controller

How to create a simple module like HelloWorld in Magento2 without controller
2
votes
2answers
958 views

How to Access Protected Data in Magento Object

I want to pull the file location of a user's upload through a Magento observer, but I can't seem to break into some protected data in this output: [_product:protected] => ...
0
votes
2answers
23 views

Magento 2 : Unable to load theme by specified key

I am facing the error some page of frontend. I have tried all solution but issue is still there. tried Magento 2 theme giving error Unable to load theme by specified key: 'Yogesh/mytheme'. ...
0
votes
2answers
176 views

Include custom extension_attribute in tax calculation on checkout page - Magento 2

I have an extension_attribute named extra_fee showing in the cart and the value of this attribute is also being added to the cart total (see screenshot). My problem is, this attribute is required to ...
0
votes
0answers
10 views

How to code Magento 2 enterprise's default pagebuilder as responsive (mobile friendly)?

As part of one of my Magento 2 enterprise projects, I need to enable the admin user to customize the page layout (responsive layout) using the page builder. For desktop, it could be done pretty well ...
0
votes
1answer
845 views

Magento 2 : Unable to save data in Sessions with Cache enabled

I am trying to save some temporary data into the customer session object ( \Magento\Customer\Model\Session ), which I need to retain until a quote is generated. I have tried two methods to save data ...
0
votes
0answers
30 views

magento 2.3.4 cannot call methods on tabs prior to initialization; attempted to call method 'activate'

In Magento 2.3.4 product page when click review text or reviews and not going to review form or Customer review Before it's working fine in Magento 2.2.4 and it's an error coming from the below ...
0
votes
2answers
24 views

Remove block from Product Page in Magento 2

I want to remove right side block from product page. See https://prnt.sc/r5mlfi How can i remove this? What is the name of this block? <referenceContainer name="content"> <block ...
0
votes
1answer
16 views

magento 2 product page gallery images not showing

I am facing issue with gallery images I have images in backend but not showing in front-end product page gallery slider I have checked there is no error in the console.

15 30 50 per page
1 2 3 4 5 1956