Questions tagged [post]

The tag has no usage guidance.

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

My custom POST Controller return empty response

I created my custom Controller for POST request, but i all time have empty response. $testIds = $this->request->getPost('test'); $items = []; foreach ($testIds as $id) { $...
user avatar
0 votes
1 answer
10 views

After POSTing a product those go out of stock, but never back in stock

Can anyone explain why exactly a configurable product for which every virtual product's quantity goes down to zero, and said product subsequently disappears from the store, won't come back even if the ...
user avatar
0 votes
1 answer
37 views

Disable First & Last name in customer account and pass the existing value to POST

I want to prevent customers from changing their first and last name once they're registered but I want to allow them to change the password in a customer account. I added disabled = "disabled&...
user avatar
2 votes
1 answer
492 views

PostFactory does not exist in generated Interceptor in magento 2?

any solution for this bug [RuntimeException] Class Vendor\Company\Model\PostFactory does not exist in [Vendor\Company\Controller\Index\...
user avatar
0 votes
0 answers
106 views

Magento2 - Get the newly added custom form post data from checkout form

I have a custom form in my checkout page in the area shippingAddress at before-form. I am using the event checkout_onepage_controller_success_action, but $this->_request->getPost(); does not ...
user avatar
1 vote
0 answers
108 views

Remove /post/ from url Magneto 2

I am using Magento ver. 2.3.4 How to Remove Post form URL. Thanks
user avatar
  • 332
1 vote
1 answer
152 views

Is it possible to load data from the server using a HTTP POST request within a Magento Module js file?

Is it possible to load data from the server using an HTTP POST request within a Magento Module js file? File located in app/code/MyVendor/myCustomModule/view/frontend/web/js/mycustom.js Example ...
user avatar
0 votes
1 answer
104 views

Magento 2 can't remove post params when reload

I'm trying to import stock using csv. When I click on submit, the import functionality works fine. But when i click on reload when it is posting then it loads until the post function completes. <?...
user avatar
  • 828
2 votes
0 answers
84 views

Redirect to Magento2 website with session id

We have a small requirement like a punchout payload concept. The user will redirect to Magento 2 website from 3rd party with the session_id. We want to capture that session_id and implement our logic. ...
user avatar
0 votes
1 answer
179 views

Magento2 - Wordpress5.2.4 installation issue

I am using a magento 2.2.5 site. I have installed WordPress in a sub directory of my root directory. I have integrated the WordPress 5.2.4 in magento site by using fishpig WordPress extension. All ...
user avatar
  • 561
0 votes
0 answers
42 views

How to redirect the Magento 2 controller into post page

When I click on add to cart button from my custom page. If products are avaiable it goes to the Cart page and if not they are redirected to the Post page, but it redirects to the Index page. Can ...
user avatar
0 votes
1 answer
77 views

*Why save magento visitor happen only when POST/PUT request?

I was involved in development of some service integration with magento. I provided this service callback URL. In controller/action I am creating a customer and making it logged in. But then I noticed ...
user avatar
  • 3,788