Questions tagged [querystring]

The tag has no usage guidance.

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

Replace php function not working as it should

This has been asked many times but still having the issue In magento email templates, on fly am trying to change storename, storeemail and phone number. Everything is working fine but am having issue ...
0
votes
1answer
12 views

get querystring variables to display on static page

How to get querystring information and display on a landingpage? This is a link created on another website with variables to pass to magento2.3.1 website. www.mymagentowebsite.com/staticpage.html?w=...
1
vote
1answer
21 views

Find duplicates in many columns query builder [closed]

I have this code to find duplicates, but i compare All columns in same row, also it returns only one row $groupBy = explode(',',$request['fields']); $duplicates = DB::table($module) ->...
1
vote
1answer
20 views

Magento 2 add query string to url when redirect to 404 page

Magento 2 custom module i am trying to add query param https://test.com/index?id=L_FRR3039-ODKLWG-GP4QPY if i give above format getting 404 page not found https://test.com/index?id=L_FRR3039 it ...
0
votes
1answer
17 views

Magento 2 custom module shortened url with query string goes 404

I have a custom controller page : http://dev.test/myfrontend/ The above works fine. also the bellow one works http://dev.test/myfrontend/index/index/ Now if I add query string: http://dev.test/...
0
votes
2answers
94 views

Magento2, How to pass product data as query string in Url using JSON template? Custom Module

I am trying to get product name, product SKU, Quantity in Url such that when I write 1 in Url 1-50 products should display, when writing 2 as page number 51-100 products should display. And data goes ...
1
vote
1answer
39 views

Magento 1.9 : I have a very strange Magento problem

Error : SQLSTATE[42S02]: Base table or view not found: 1146 Table 'i1115580_mg3.sales_flat_shipment_track' doesn't exist Query: SELECT track_number FROM sales_flat_shipment_track
2
votes
0answers
210 views

What is the use of load() method in collection?

CASE productCollectionFactory load function gives data in query but not in object $collection = $this->_productCollectionFactory->create() ->addAttributeToFilter('status', ...
2
votes
2answers
228 views

Setting my base_url to Secure

Setting my base_url to HTTPS drops the query string I set the base URL for my site to https://www.example.com, now when user comes to my site from a non secure URL (link) that has a query at the end ...
0
votes
2answers
55 views

How can I search by remove ' - ' from my SKU?

I have sku like this '1-83574148-0'. when I searched with keyword '1835741480' . It's no result . How can I search by remove ' - ' from my SKU ?
1
vote
1answer
2k views

Magento 1.9 - how to display Magento query as a SQL string?

It works beautifully if I'm trying to get collection but it won't for single product by SKU. for example: $product = Mage::getModel('catalog/product')->loadByAttribute('sku', $_sku); echo $...
2
votes
1answer
104 views

Getting the wrong chinese string in search query result!! Magento 1

I have a store in chinese language. When I search for any product it works fine. But when I sort the result page by sku, name or price it does not work. It seems that I've got the wrong url for ...
0
votes
1answer
221 views

Magento 2 how to pass query string to checkout js files

I'm using magento 2. I need to add some string query in the checkout all .js files. ex - http://127.0.0.1/Magento-CE-2.1.6/pub/static/version1498714113/frontend/Magento/luma/en_US/...
0
votes
1answer
43 views

Cart Issue from calling custom code

I am creating an app for Magento 1.9.And during my process, i tried to add a product to the cart by the query like this (http://localhost/zara/rest/addtocart.php?prodid=4&qty=1).It's added on ...
0
votes
1answer
484 views

Magento query to sort products alphabetically

Does anyone know if there is a query string to sort products alphabetically within the product list ?product_list_order=position ?product_list_order=price The above works but the below doesn't? ?...
2
votes
0answers
92 views

Query string to select configurable variation

I want to select the configurable variation on page load based on the query string parameter. I cannot find anything on google for this so I am guessing it is not core magento functionality. Does ...
0
votes
1answer
555 views

Remove query strings from static resources

I am checking my website performance in gtmetrix and I found that Remove query strings from static resources's GRADE are just 34% because of some of image URL content parameters like Aigner.JPG?...
1
vote
1answer
713 views

How to limit the search result in Magento 2 with query string

How can I limit the search results in Magento 2 with query string, we have something like this to perform the search http://domain.com/catalogsearch/result/?q=search_term Is there any query string ...
1
vote
1answer
180 views

What does the 's' parameter in the URL mean?

I am still fairly new to Magento's URL system. I do know that name value pairs are separated with slashes (though you can also pass a ? and then a=5&b=6&z=etc) What is the "s" meaning in the ...
2
votes
0answers
933 views

Magento + gclid + redirect is not working

I've just been on the phone with Adwords and they've told me my gclid url query string is not working properly. So I did some digging and found this stackexchange question / answer that really looks ...
1
vote
2answers
961 views

Add to cart query string keeps going to product page

I'm using magento 1.9.1 and on a custom listing page I'm trying to add an add to basket form. This is supposed to add to the basket using a query string. <?php $formKey = Mage::getSingleton('core/...