Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [paths]

The tag has no usage guidance.

0
votes
1answer
24 views

<?php echo $this->getChildHtml('order_totals') ?> finding path

<?php echo $this->getChildHtml('order_totals') ?> I am searching the path in server. but unable to find Please help me.
1
vote
2answers
43 views

How to modify the custom module URL?

I have created custom module i.e /stores/index/display. But I want to modify the /stores, How can I do that?
0
votes
0answers
16 views

M2 | How to give path for custom module using volumes in docker-compose.yml?

I have a custom module, I want to run it on my Magento 2 installed as Magento Docker Image. I figured we can use modules and themes by giving there paths in docker-compose.yml file as Volumes. For ...
0
votes
1answer
53 views

magento 2 how to edit custom header in site which path i can edit

here is the code for custom header <div class="message global demo"> <div class="content"> <p>This is demo store. No orders will be fulfilled.</p> ...
0
votes
2answers
112 views

Magento 2.2.5 can't find sitemap while it is generated

I'm struggling with an weird issue. I can't make any custom files / folders in my root of magento. I want to make a custom folder with some images, resulating in 404 errors when trying to reach the ...
0
votes
1answer
22 views

Magento Current Path

I want to show current menu path to users in Magento. it will good if I can show it under top menu. How i can show user the navigated path to current page?
2
votes
1answer
55 views

How to get to know the XML file and its path for that template Path Hint in Magento 2

As we can enable template path hints in settings along with blocks but there is no option to show from which xml file it is coming in the frontend. How should I know which xml file to write to move, ...
0
votes
0answers
336 views

TCPDF ERROR: Unable to create output file in Magento2

I am trying to get PDF Download able, I installed TCPDF library by this: composer require tecnickcom/tcpdf and created PDF Document as: // create new PDF document $pdf = new \TCPDF(...
2
votes
2answers
275 views

How to compose URL for AJAX in Adminhtml Magento 1.9

I'm inside the Admin area, I'm adding a check inside the products, inside my File phtml write: <?php $ajaxUrl = Mage::helper('adminhtml')->getUrl('adminhtml/MyCompany_MyModule_AjaxController/...
0
votes
1answer
64 views

Magento 2 What is the path component after rest /rest/<default|wholesale>/V1/…?

I have a multi-store setup, each store view has its own domain, and I just noticed on order-place Magento calls this API https://example.com/rest/wholesale/V1/carts/mine/payment-information and I ...
0
votes
2answers
38 views

How to include the Login.php in my custom template? — Magento 2.2

I am new to Magento, I am not yet familiar with how the paths are working. I am trying to override file Login.php the in the following path: vendor/magento/module-customer/Block/Form/Login.php I am ...
15
votes
4answers
19k views

How to get root directory path in a phtml magento 2?

$objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $storeManager = $objectManager->get('\Magento\Store\Model\StoreManagerInterface'); $mediaPath = $fileSystem->...
11
votes
4answers
22k views

How to get media directory path in a phtml file in magento 2?

Used the below method in order to get the media directory path, but it returns an error. $om = \Magento\Core\Model\ObjectManager::getInstance(); $directoryList = $om->get(\Magento\App\Filesystem\...
0
votes
2answers
599 views

How Magento 2 converts the namespace path to actual file path?

I know in Magento 2.x versions the namespace is converted to actual file path to load classes runtime. For example, \Magento\Catalog\Model\Product is converted to path\to\webroot\magentorootdir\...
2
votes
1answer
390 views

Controller redirect to wrong location in Magento 2

I have a controller where I created a redirect to checkout/#payment like this $resultRedirect = $this->resultRedirectFactory->create(); $resultRedirect->setPath('checkout/#payment'); ...
7
votes
2answers
6k views

Magento 2 : Get pub/static File Path

I need to get the file PATH for an image in pub/static/[VENDOR_THEME] folder. Currently, I can do this by using a helper: public function __construct( \Magento\Framework\App\Helper\Context $...
8
votes
4answers
9k views

Magento2 : get image path of product

I created custom page for getting products . I got all information but how to get full image path. I am using getImage() it is showing image only how to get full path. <a href="<?php ...
0
votes
1answer
21 views

My Magento site on Macbook is not picking up .css and .js because paths are wrong, where can I set these paths?

I have pulled whole Magento web site from a git repository onto my Macbook. It looks like the css and js files don't have the right path, and site doesn't look good (site is now without any styles). ...
3
votes
1answer
419 views

How to log 404 or undefined url's path information in magento?

I want to log all urls which redirects to 404, for this I extended Mage_Cms_IndexController's noRoute action, here I can log all urls by Mage::log(Mage::helper('core/url')->getCurrentUrl()); Now ...
2
votes
1answer
174 views

How can i bulk ADD URL Rewrite Management

How can i add bulk URL Rewrite Management, i need to migrate new website, but i have already promoted my old site products, so, after i change new site, old site url return blank page, or empty page. ...
0
votes
1answer
1k views

Magento theme redirects to wrong path for css files

I know this question gets asked A LOT on this forum, but I just cannot get the url to change. I'm working on a test-site to try out a new theme (fortis), and no matter what I do it tries to retrieve ...
1
vote
1answer
70 views

Former Dev removed reviews, wishlist, send to friend

Is there something controlling reviews, wishlist and send to friend at a higher level than the admin control? A former dev removed the wishlist, reviews, send to a friend feature of the product page ...
2
votes
1answer
392 views

Change path url language

Currently my domain when switchable in English is www.mydomain.com/?___store=en&___from_store=it I wish it was www.mydomain.com/en How can I do?
0
votes
2answers
643 views

How do I open a csv file in the root of my module directory?

I've been writing a rather complicated module as of late. One of the steps I need to do is pre-populate one of the models with all of the data it needs to work right. This data is slowly replaced ...
1
vote
4answers
18k views

“Invalid template file” error in Magento 2 with a custom module [closed]

I'm having issues with Magento 2 missing out my header and footer, which are custom modules setup in my custom theme. They display correctly locally, on a MAMP set-up. However, on my staging server, I ...
5
votes
1answer
189 views

Magento 2: What is the `component_paths` property in `magento/magento2-base`

In Magento 2, the magento/magento2-base package has the following component_paths section in its composer.json file. "extra": { "component_paths": { "trentrichardson/jquery-timepicker-...