Questions tagged [get]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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/:...
0
votes
1answer
37 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 ...
0
votes
1answer
18 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 = []...
1
vote
0answers
22 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 ...
0
votes
0answers
26 views

Array as query parameter in custom rest api Magento 1.9

I have create a custom module for guest user rest api, to get custom product collection, but having issue passing array in query parameter, to get some collection values as response. It is treating ...
0
votes
0answers
96 views

REST API Get products info based on name Magento 1.9

I have created a custom module but unable to get products based on categories name, If I pass a single name it is working. app/etc/modules/Custom_Restapi.xml <?xml version="1.0"?> <config&...
0
votes
2answers
47 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\...
1
vote
0answers
21 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 ...
0
votes
1answer
32 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 ...
0
votes
1answer
105 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,
0
votes
1answer
154 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() ...
0
votes
2answers
218 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() ...
2
votes
1answer
176 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]); ?>">...
2
votes
1answer
59 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 ...