Questions tagged [file]

The tag has no usage guidance.

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

Magento Custom option file download 404 page in order

After upgrade 1.9.2.4 to 1.9.3.3. I have some issue regarding to order. When I clicked custom option type file for download I got 404 page. When I tried to print log related to file following code ...
3
votes
1answer
2k views

Magento 2:i18n folder to custom theme

I want to edit .csv file in module-wishlist to my custom theme. I have copied the the file from module-wishlist and copied to app/design/frontend/vendor/theme/Magento_Wishlist/i18n/en_US.csv. ...
8
votes
1answer
876 views

Please specify the product's required option(s) Custom Option type file

I got only one custom option, which is file type, I tried to add product to cart programmatically like this: $logoSku = 'lg-brnd01'; $productLogo = Mage::getModel('catalog/product')->...
2
votes
1answer
54 views

Add Javascript globally in Magento 2 backend

I have a custom extension that has a javascript file which need to run on every page in magento 2 backend to use jquery and ajax function, is there a way to do this action with custom extension?
0
votes
2answers
3k views

magento2 : How to copy a file programmatically in Controller

I have a controller execute() function in which I would like to make a file copy from a directory to another. In Magento 1.9 I was using : Mage::helper('core/file_storage_database')->copyFile($...
5
votes
1answer
515 views

Magento 2 : Which File & Line app/etc/di.xml Config Will Load by App

I need to know, area wise config will load by application entry point files like /Magento/Framework/App/Http launch method. But I'm not able to figure it out app/etc/di.xml config load.
0
votes
1answer
41 views

Can't upload any files to the admin dashboard?

for some reason I can't seem to save extension configuration with files attached. I'm attempting to update the logo for our PDF extension, when I browse for the file and save it confirms it was saved ...
1
vote
2answers
31 views

Magento:Template File

I want to add a custom button in checkout page through my module without affecting any core functionalities of checkout module. http://i.prntscr.com/b2500547a0a747e5883be2a84fa43545.png
1
vote
1answer
256 views

Sort CSS files in Head [duplicate]

I am developing a Magento 2.1.2 shop based on the Bootstrap library. But the Bootstrap library should only get included in cms pages. So I added the following code in the file Magento_Cms/layout/...
0
votes
1answer
82 views

Search for specific load of file

Somewhere on my website the following file is loaded: data:application/font-woff;base64.... I want to remove this file, but I can not find out in what specific file it is loaded. Is there an easy ...
2
votes
0answers
116 views

Magento 2.1 and symlinks

My server structure is as follows: /var/www/htdocs_webroot/shop -> symlink to: /var/www/shop/deploy_xxxx-xx-xx/htdocs So I can redeploy magento easily and switch back and forth with one simple ...
0
votes
1answer
499 views

Magento can't open a file outside its base dir with fopen

For some reason to me unknown, Magento doesn't want to open file for writing with: $fp = fopen("/Users/vlado/Desktop/f.txt", 'a+'); , apparently because it is outside of the Magento base directory. ...
1
vote
0answers
389 views

Magento 2 Can Magento\Framework\Filesystem\File\Write be "preference" or "plugin"?

Tried to use preference to override it, but errors appear when running "magento setup:static-content:deploy". Then I tried to use plugin, but I found that the system did not go to my customized ...
2
votes
3answers
1k views

Mage::log clear log files

I want to programmatically clear manual log-files in order to always only see the new Logging Code for the last iteration. Is it possible (e.g. via a parameter) to only log the last iteration with ...
1
vote
1answer
125 views

Cannot Delete file of Downloadable Product after it has been uploaded. Delete Button does not function under Samples or Links

Noticed after Patch Supee-8788 is applied, the delete button for the Downloadable Products does not work after the file has been uploaded, there is no way to delete files after they have been uploaded....
2
votes
1answer
4k views

Download a file from Controller in Magento 2

I create a Product View Tab and fill this with some PDF download links. Now link in Magento 1.9 I create a controller to prepare the download response. I don't find any solution to download a file ...
0
votes
1answer
149 views

is there a way to override firegento-magesetup2/Plugin/Catalog/ListProductPlugin.php

I just updated to latest magento2 but I have a Fatal Error which is related to this merge request https://github.com/firegento/firegento-magesetup2/pull/39/files and I would like to override without ...
1
vote
3answers
730 views

I'd like to change menu on My Account page

I'd like to hide several menu on MY Account page to my customers. So I tried to change navigation.phtml file, but I couldn't find the menu on MY Accout page. The file was written like this <div ...
1
vote
0answers
251 views

Magento 2: Is there a dedicated folder for keeping PDF/image files for CMS pages and/or products?

Since Magento 2 has a default folder for storing images to be imported at [magento installation folder]/pub/media/import, does Magento 2 also have a dedicated (or recommended) folder for storing PDF/...
1
vote
0answers
10 views

File ___ optimized1.serialized in a media directories

What process/module created the file ___ optimized1.serialized on the web server (magento installation) in directories like media (containing pdf, png, jpeg)?
0
votes
1answer
552 views

Magento 2 optimize performance by separating static element and cache

I'm drafting the system diagram of my site. I'm planning to use multiple servers 4 apache servers, 2 db servers and 2 file server for performance enhancement. As Magento has many cache files and ...

1
2