Questions tagged [page]

The tag has no usage guidance.

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

my First Admin Page is not shown up

I try to write a own module. After 1 week of searching I hope u can help to go on. Its a very simple admin page. module_dir: app/code/famberg/module_afterbuysync/ ... Controller/Adminhtml/Settings/...
Michael Berg's user avatar
0 votes
0 answers
23 views

loading an HTML page extremely slow

With Magento 2.3.4 version, when browsing the page, it is too slow, it takes 4 to 6 minutes to load the page. I have checked the status of the cache and everything is enabled: > php bin/magento c:...
Donaldo Manzano's user avatar
0 votes
1 answer
31 views

Display and link custom attribute in product page mangento 2

I have installed magneto 2.4.5 and trying to show manufacturer above product title . I have set custom theme using Luma as base , I have found many example of showing custom attribute on the product ...
tonysar's user avatar
  • 51
0 votes
1 answer
147 views

Magento 2.4.2 : How to add page number in footer of Invoice pdf?

Can anybody tell me how we can add Page numbers to each page of the invoice pdf? https://nimb.ws/rcNG8B I want to add the page numbers in the footer.
Nicola Smith's user avatar
0 votes
1 answer
47 views

Invalid security or form key. Please refresh the page Custom Module

Cree un módulo y lo agregué al menú del admin, al ingresar desde el menú del admin me redirecciona al dashboard y me muestra el mensaje: "Invalid security or form key. Please refresh the page ...
EddGalan's user avatar
0 votes
2 answers
41 views

Magento2 cms page display 404 via mysql query import data to cms_pgae

In Magento CE 2.4.5, I imported the page data in the cms_page table by sql, and 404 appeared in the access address. What should I do if the page cannot be found
sq y's user avatar
  • 95
1 vote
1 answer
26 views

How i check list of page enable/disable in magento using CLI? [closed]

I am new developer in Magento 2
Alok Tiwari's user avatar
1 vote
1 answer
189 views

Magento2: url redirection in controller_action_predispatch observer with setting post parameters

I am working on cms page restriction for specific customer group.I am using controller_action_predispatch event observer to check whether the current page is set for restriction and the current ...
VigneshKumar Radhakrishnan's user avatar
0 votes
1 answer
91 views

how to solve temporary redirect in magento 2.4.3

I am the owner of the jewelry site when I run a Site audit from Semrush I get 944 temporary redirects, and I do not know how to solve temporary redirects in Magento 2.4.3 Please help
JewelryNest's user avatar
0 votes
1 answer
308 views

Get Page Type Of Referer Url In Magento 2

I am using Magento 2.3.5-p2 I am trying to get the page type for previous link I am able to get the previous link using \Magento\Framework\App\Response\RedirectInterface $redirect, public function ...
Mohd Farhan Bin Ramli's user avatar
0 votes
1 answer
21 views

deactivate rolling circles when open an other link/site of my website

When I open any page of my website https://www.agoshop.at everytime I will get scrolling circles and after that I will see my new page. This is very disturbing. Therefore I will ask how I can ...
haiflosse's user avatar
2 votes
2 answers
901 views

Redirect Customers to specific page after Login in Magento 2?

How to redirect customers to a custom page when they go to any other page. I have set Redirect Customer to Account Dashboard after Logging in to the store configuration but it is not working.
Tarang Methaniya's user avatar
0 votes
2 answers
343 views

Blank Admin page after install with no errors messages or redirect

I am attempting to install a Magento 2.4.1 solution that it's already in production. I've previously installed other Magento solutions that were similar and had no issues. In this case, the install ...
Doru's user avatar
  • 11
0 votes
1 answer
77 views

Mageto 2 : getUrl returns true even the page is set to disabled

I created a page testPage and use $pageExist = $this->getUrl('testPage') ?> so i could render an a block if it exist like so if ($pageExist) BUT when i go from amdin panel and set page from ...
Lith's user avatar
  • 1
1 vote
1 answer
2k views

How to Set ‘No-Index’ & ‘No-Follow’ Tags For Specific Pages in Magento 2?

How can I set a specific page to NO INDEX, NO FOLLOW in Magento 2?
Kuldeep Sharma's user avatar
0 votes
2 answers
1k views

Magento2.4.2 in Elasticsearch 7 reindex not working

We have installing magento2.4.2 with Elasticsearch 7. reindex not running. facing some issues: Catalog Search index process unknown error: {"error":{"root_cause":[{"type"...
Sudhakar Arunachalam's user avatar
0 votes
0 answers
54 views

How to change the product list page to drop down refresh?

I have two themes, one for PC and one for mobile. I want to change the product list page of mobile to the dropdown refresh mode.(Slide up to the bottom automatically loads the next page) What should I ...
Bob's user avatar
  • 5
-1 votes
1 answer
410 views

I want filter for Most Viewed Products in Magento 2 in Category Page

I want to make a custom filter for Most Viewed Product on Category Page in Magento 2. I have used this code app/code/Hlcategory/Filter/Plugin/Catalog/Block/Toolbar.php public function ...
Prits's user avatar
  • 626
0 votes
0 answers
1k views

Notice: Array to string conversion in vendor/magento/framework/Data/Form/Element/Select.php on line 135

When I am trying to delete any CMS page or delete any product in the admin backend it throws an error of the Array to String Conversion in directory /vendor/magento/framework/Data/Form/Element/Select....
Manoj Jarial's user avatar
0 votes
2 answers
2k views

Changing Magento 2 Page Builder Images to use <picture> and srcset

I am trying to change the magento2 page builder image to include picture and source set tag. I made a module app/code/[Vendor]/PageBuilder/view/adminhtml/web/template/content-type/image/full-width/...
Jason Kollias's user avatar
0 votes
1 answer
221 views

Suppose I reach to this page customer/account/login/, after I click on "Sign In" button and i found referer feature not working :(

How to echo or print the referer url(history page) from where I reached to that login page. I have to implement something that after login user should not reach to dashboard instead he should re-...
Vibhore Jain's user avatar
1 vote
1 answer
472 views

Adding PHP to a Magento Block or Magento Page

I am new to Magento and have been reading all of the answers on how to add PHP to a Magento block or page. Seems that just adding doesn't work. I have seen answers like this {{block type="core/...
Jim's user avatar
  • 11
0 votes
1 answer
39 views

Magento 2 check if Page is used on more than one website

I'm trying to find if a page is used on more than one website on a multi-website Magento installation. I have sucessfully return data of the page, but PageInterface has nothing like getStores() or ...
Oscar Vazquez's user avatar
2 votes
2 answers
948 views

Get current page title in observer (Magento 2)

Is their any way we can get current page title in magento 2 ?
Hamendra Sunthwal's user avatar
0 votes
1 answer
953 views

Slow loading Category Page Magento 2.4.0

I am experiencing slow loading Category Pages using Magento 2.4.0. We have 27,000 products of which approximately 6,000 are for the Magento website. The other 21,000+ are for eBay and Amazon. Normal ...
richardwendrock's user avatar
0 votes
1 answer
1k views

Restrict access to pages for non logged users

I need to restrict access to all pages except / customers, contacts and home page. My code is not working. <?php use Magento\Customer\Model\Context; use Magento\Framework\Event\Observer; use ...
Ihor Mandzyuk's user avatar
0 votes
2 answers
62 views

How to include js on category pages Magento 1?

Hello i am using magento 1 i am not sure how can i include the below js in magento category pages frontend. <link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.css&...
dev hs's user avatar
  • 1
1 vote
2 answers
960 views

Remove JS files from beeing loaded through require-js

I am optimizing the page speed of my Magento 2 frontend. Everything is logically so far... CSS files can be removed through XML, everything should be minified, lazy loaded and so on. BUT: The size of ...
steve_steve's user avatar
0 votes
1 answer
13 views

several times a day my pages come in written lines, clearing the cache helps, what goes wrong

several times a day my pages come in written lines, clearing the cache helps, what goes wrong magento 2.2.5
koicompagnie beilen's user avatar
0 votes
1 answer
482 views

How to hide page for not logged in customers?

I've created a page using the CMS which I do not want to be accessible by people who are not logged in. It's a download page which I want to place in the footer. But when they click on it, it should ...
JMTDv's user avatar
  • 3
0 votes
2 answers
849 views

How to load PHTML file last after page is fully loaded

I have a script in my phtml file but I want to only load this ones the page is fully loaded. I am doing a check if my custom module is enabled show the < script > Adding script like this : You ...
Jack Brooks's user avatar
0 votes
1 answer
348 views

Page Builder is not visible magento 2.3.4

It must be here so I could enable it but its not. https://i.stack.imgur.com/jRkiZ.png what can I do? https://i.stack.imgur.com/aNETr.png Its not here as well. please help.
Giga Todadze's user avatar
1 vote
0 answers
47 views

Magento 2.3 How add additional links in tag <head>?

How to add information to the tag, please tell me?! I want to add .phtml file I can change the class along this path and add this way, but it seems to me that there is another way Magento\Framework\...
David Young's user avatar
1 vote
2 answers
730 views

Show category names in breadcrumb in product page magento 2.3.2

How can i show full category names in breadcrumb on product details page. Currently it is coming like https://www.screencast.com/t/5o9uZEu8xnV I want like this https://www.screencast.com/t/...
Nafsss's user avatar
  • 740
1 vote
0 answers
20 views

Contact page disappear after save category

I have a online store in Magento 2.2.3 with i18n stores. In menu i create new Catalog Category with name: Contacts, Contactos and Contacts in order EN, PT and FR. I configure this category to redirect ...
Matheus Prado's user avatar
1 vote
1 answer
64 views

How to change category page block after opening shop by filter

I'm new Magento2 User and I got an issue. You can see the picture it shows before I open Shop By filter. After opening that,I add new Category and the page goes left-right bolck style . How can I ...
王興全's user avatar
0 votes
1 answer
233 views

Magento 2 optimize JS?

I have been optimizng magento store and faced that there are around 148 scripts running when homepage is loading so I did default Magento bundle enabled and then total number of elements requesting ...
Anonymous Record's user avatar
2 votes
1 answer
140 views

Add a custom/programmed block to a CMS page

I have created a page using the CMS (via Admin Portal) and now I want to add a custom block (programmed) to the page. You can see the created page here: My structure is the following: but ...
Jackridder's user avatar
0 votes
1 answer
139 views

Link Custom Block to custom page

I created a custom block and was able to link to it on the home page or display it there. Unfortunately I don't get the block displayed on another page I created via the backend. If I understand the ...
Jackridder's user avatar
0 votes
1 answer
39 views

I tried today to go to admin page and got this error

Warning: include(Mage/Admin/Model/Observer.php): failed to open stream: No such file or directory in /home/abogacec/public_html/dycgarage.ro/lib/Varien/Autoload.php on line 96 #0 /home/abogacec/...
George Craciunescu's user avatar
0 votes
1 answer
18 views

Simple colums in editor

the best way to create column in the editor is? I try to create with Bootstrap class but, it's not working... Thanks
Alain Picard's user avatar
2 votes
0 answers
100 views

magento 2 plugin settingpageSize

I have created plugin for elasticSearch to set the size of the page <?php namespace Devall\ElasticsearchPlugin\Plugin\Checkout\Controller; class EmptyProducts { public function afterResolve($...
Giga Todadze's user avatar
1 vote
2 answers
2k views

Remove block from Product Page in Magento 2

I want to remove right side block from product page. See https://prnt.sc/r5mlfi How can i remove this? What is the name of this block? <referenceContainer name="content"> <block ...
Nafsss's user avatar
  • 740
1 vote
1 answer
2k views

How to get current page number from url in Magento 2

I want to check the page number which appears in a URL in a phtml file. For example, if the URL is: http://localhost/magento/index.php/shop.html?p=4 How can I get the value 4 in the .phtml file? ...
Nafsss's user avatar
  • 740
1 vote
0 answers
32 views

Is there any way to automaticly add a product to a product-page when the product gets a special price?

Is there any way that when I give a product a special price, it automatically adds the product to a special "Sale" page at my homepage without manually adding the product to any type of category? So ...
Rob's user avatar
  • 11
0 votes
1 answer
95 views

What is the pageId for Customer/Account Page?

I want to change the landing page for a customer who has an active session to their customer/account page. I set up a conditional in aroundExecute() in app/code/MYNAME/MODULE/Plugin/CMS/Controller/...
weebsta's user avatar
0 votes
2 answers
584 views

404 page not found error. Custom Page

I am trying to create custom page page having error 404. routes.xml <?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. ...
Akash Killedar's user avatar
0 votes
2 answers
359 views

Custom Page Sizing values for all pages magento 2 admin

I want to ask if there is a way to override the per page drop down for all pages in magento 2 admin. I want to override this and even I add a custom page in the admin, it will still be implemented. ...
Miguel Intoy's user avatar
0 votes
1 answer
25 views

Using a Page vs. a Static Block

I'm trying to get a very basic understanding of when I should use a Page vs. Static Block to create content for the site. Can someone provide examples of where they might be used? Or scenarios where ...
Jessica's user avatar
0 votes
1 answer
90 views

Category Link go to 404 on store switch

I have used Magento 2 with 2 store view and My default store is English and set Category Link in Mega Menu but when i change my Store view from English to french that category link goes to 404 page. ...
Prits's user avatar
  • 626