Questions tagged [pub]

The tag has no usage guidance.

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

Basic clarity on some magento default function

I had gone through a interview process. They fired some questions below which I don't know answers and couldn't find in google. The questions are below. How to create a object and why we need to ...
0
votes
0answers
5 views

Product images 404 on alternate storeviews only

I recently got a Security Scan warning at Magneto.com about %pub% directory setup. I fixed it. The site appears fine except I am running a multi store setup which each store setup as SUBFOLDERS. The ...
0
votes
0answers
17 views

Magento2 Modifying of serving the images via pub/get.php

Is there a way how to modify behavior of serving the images via of pub/get.php? I tried to create plugin for Magento\MediaStorage\App\Media, and to override it, and to create plugin for other classes ...
0
votes
1answer
16 views

JS files are not updating in Pub/Static Folder and JS files are also not listing in Source tab of crome in Magento 2

I am trying to change the code of JS file in my module but it's not updating in the pub/static folder. when am I checking the source tab of crome it's also not listing under it. I am following the ...
0
votes
0answers
21 views

Wrong URL for category image when root is set to pub directory

I want to use pub/ directory for security reasons as document root for Magento website but when i switch it, images for categories and for manufacturers (in product detail) are not displayed. I ...
0
votes
1answer
41 views

Magento2 images not loading

I am new to magento, I am building a store in this I have deployed the site in the domain.com/shop subfolder, now the problem is that the images are not loading in my site, I think it is due to ....
0
votes
0answers
31 views

File in Pub Directory Not Updating in Magento 2

I have updated a .js file in pub directory and run cache:flush. But when I open website/filename.js in browser and incognito browser, it still load the old file. The permission to pub directory is ...
1
vote
2answers
269 views

Module not generated in pub/ folder, Magento 2.3.3

Hello! I have Magento version 2.3.3. I run: bin/magento setup:upgrade bin/magento setup:di:compile bin/magento bin/magento setup:static-content:deploy -f And permissions for folders: But after ...
1
vote
1answer
416 views

Custom Javascript is not working in my core HTML file. Magento2

I'm trying to add some Javascript and Jquery in the core theme file which is located in magento\pub\static\frontend\magento\luma\en_US\Magento_Checkout\template\payment+methods\list.html <!-- /** ...