Skip to main content

Questions tagged [get]

The tag has no usage guidance.

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

magento2 - Not able to get data through API get 404 error

Endpoints are working but still I can't get the data. var self = this; taskService.getList().then(function (tasks){ self.tasks = tasks; return tasks; }); return this;
user117747's user avatar
0 votes
2 answers
119 views

Form submit is not working post mode in the magento 2.4.5

I have phtml file which has submit. I am going to submit with post mode. But get mode is working continuously. Why is the reason? <form id="publication_reg_frm" method="POST" ...
Malcom's user avatar
  • 11
1 vote
0 answers
160 views

when submitting the form from the formbuilder the hash(#) value get removed from the url

I'm trying to submit the request through the GET request by sending the fields as the query parameters, example.com/web/connector/#/home?(other query parameters) when the request is submitted the URL ...
Muhammad Shoaib's user avatar
0 votes
1 answer
2k views

Create a REST API to get the data from the custom table in magento 2

I create a database table 'computergames' . Now the table display in postman by get request
Rubel Parvaz's user avatar
1 vote
0 answers
20 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 ...
Jennifer Cornhill's user avatar
1 vote
1 answer
3k 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
Max's user avatar
  • 11
0 votes
2 answers
328 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--------------...
srd viha's user avatar
0 votes
1 answer
44 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 ...
Manoj Jarial's user avatar
0 votes
2 answers
30 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]=...
Ayman Elgohary 's user avatar
0 votes
1 answer
134 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"....
bambo's user avatar
  • 3
0 votes
1 answer
785 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....
Ihor Radzyil's user avatar
1 vote
2 answers
3k 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 ...
Ihor Radzyil's user avatar
0 votes
2 answers
273 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'...
Paul's user avatar
  • 1
0 votes
0 answers
60 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/:...
vinaysirige's user avatar
0 votes
1 answer
79 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 ...
zus's user avatar
  • 123
0 votes
1 answer
36 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 = []...
Rosario Bagaskara's user avatar
1 vote
1 answer
1k 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 ...
jojo's user avatar
  • 49
0 votes
2 answers
73 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\...
Akash Killedar's user avatar
1 vote
0 answers
112 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 ...
Sanjay Shiyal's user avatar
0 votes
1 answer
116 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 ...
zhartaunik's user avatar
  • 3,846
0 votes
1 answer
3k 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,
n00bly's user avatar
  • 623
0 votes
1 answer
898 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() ...
Sarvesh Patel's user avatar
0 votes
2 answers
1k 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() ...
Shafeel Sha's user avatar
  • 1,405
4 votes
1 answer
447 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]); ?>">...
Michael T-rex's user avatar
2 votes
1 answer
315 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 ...
HaFiz Umer's user avatar
  • 1,690