2022 Developer Survey is open! Take survey.

Questions tagged [get]

The tag has no usage guidance.

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

Showing previous $_GET results when pressing back

I have a table controlled by a dropdown box. My dropdown for example has all animals, lion, crocodile, and wolf. When I press lion results show fine, I then click crocodile and again results are fine ...
user avatar
0 votes
1 answer
40 views

How i can pass js variable to php file?

i need to pass a variable from file.js to my model.php with rest API in particular get method
user avatar
  • 1
0 votes
2 answers
46 views

Magento 2 get Stock Item of virtual Product

1 exception(s): Exception #0 (Magento\Framework\Exception\NoSuchEntityException): The stock item with the "2056" ID wasn't found. Verify the ID and try again. -----In block File--------------...
user avatar
0 votes
1 answer
25 views

Admin input value is not accessible after adding the order increment ID while executing the command

I created a custom CLI command where I have to delete the order Items using the Order Increment ID, Item SKU. I used the ask() method after executing the command php bin/magento webkul:orderDelete ...
user avatar
0 votes
2 answers
24 views

Get Customer Data By update At Field

we try to get customer data By (Updated_At Field), rest/V1/customers/search?&searchCriteria[filter_groups][0][filters][0][field]=updated_at&searchCriteria[filter_groups][0][filters][0][value]=...
user avatar
0 votes
1 answer
24 views

Magento 2 : How to get hreflang from address url?

When i have the address: <link rel = "alternate" hreflang = "de" href = "..." />. I would like to take the hreflang value from this address, meaning "de"....
user avatar
  • 3
0 votes
0 answers
117 views

My swagger is broken - FAILED TO LOAD API DEFINITION

I'm sure It’s likely improper comments on some interface files on custom modules. But my question is ... is there an easy way to search (grep) on the server or other command line type ways to find ...
user avatar
0 votes
1 answer
278 views

Magento 2 Rest API response "There is no mediagalleryentryconverter for given type". How fix it?

I need to get All Products using Magento 2 Rest API, but on some products I get response: "There is no mediagalleryentryconverter for given type". How can I fix it? I use POSTMAN for testing....
user avatar
0 votes
2 answers
830 views

Magento 2: How get All products (2000 products) using Rest API?

I use Magento2. I have 2000 products. I try to get all products, using Rest API. My request str.: GET https:///rest/default/V1/products?searchCriteria[pageSize]=1000. But this is not enough because ...
user avatar
0 votes
2 answers
41 views

get() in CustomerRepository doesn't receive $customer from retrieveByEmail() for password reset

I've got the weirdest problem I've ever come across, I'm not brilliant with class based systems so maybe its not magento related... So the basics are that the reset password function isn't working. I'...
user avatar
  • 1
0 votes
0 answers
24 views

"error": [{ "code": 404, "message": "Request does not match any route."}] error magento1.9

for custom get api request i am getting "Request does not match any route." error api.xml <route_entity> <route>/servicebms/outgoingcall/:k_number/:agent_number/:...
user avatar
0 votes
1 answer
62 views

Phishing Attack - Magento 1.9 - Too many Get method request for customer login page - Site Down

The IP : 167.172.230.190 hit my customer login page too many hits makes my server down Screenshot : https://snipboard.io/kde4fw.jpg Notes : Custom login page captcha enabled, added that IP in IP ...
user avatar
  • 103
0 votes
1 answer
24 views

How To Get Product Quantity?

I have tried using this code, but it doesn't return the product's quantity private $registry; public function __construct( Template\Context $context, Registry $registry, array $data = []...
user avatar
1 vote
1 answer
298 views

Magento 2: How to use form key parameter in GET request?

I'm using magento 2.3.4 and i tried to generate a delete cart item like this in phtml file: <?php $formKey = $this->helper('Vendore\Module\Helper\Data')->getFormKey() ?> <a ...
user avatar
  • 167
0 votes
2 answers
55 views

Adding data to database from custom form

I'm able to fetch data from custom form but not able to put it in database table. Here I post details of model and controller SimpleMagento\Custom\Model\Name.php class Name extends \Magento\...
user avatar
1 vote
0 answers
59 views

Magento2 : How To Access Custom Parameter's of Admin Url in admin login page

this is my admin url : http://127.0.0.1/m2-test/index.php/admin?username=test and i want to access username value in admin login.phtml i have tried with $_GET["username"] but it will return nothing ...
user avatar
0 votes
1 answer
73 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,758
0 votes
1 answer
1k views

Magento 2 - Get current page type

I have a title.phtml which loads the page title for the pages in the webshop. What I need to do is detect whether it's a product page or something else... What is the best way yo do this? Regards,
user avatar
  • 573
0 votes
1 answer
452 views

How to solve Post/Get Method use in postman with Magento controller?

I am using Magento controller URL with Postman. When I select Get Method in postman then it runs perfectly with execute method. But when I use the Post Method that time it breaks from the execute() ...
user avatar
0 votes
2 answers
684 views

Magento 2 : Exception #0 (InvalidArgumentException): Invalid return type

Exception Exception #0 (InvalidArgumentException): Invalid return type #0 /var/www/html/magento/folder/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch() ...
user avatar
  • 1,372
3 votes
1 answer
233 views

How to use function $_GET in Magento 2?

I have below code in phtml 1: <?php $itemid = $item->getItemId() ?> <a href="<?php echo $this->getUrl('history/customer/detail', ['item_id' =>$itemid]); ?>">...
user avatar
2 votes
1 answer
128 views

How get Image Url by product_id or other way

I am rendering sales_items rows in frontend Screenshot is: Can anyone please help me to find how get image path here from product id or any other solution. and set path in src tag ? My .phtml file ...
user avatar
  • 1,516