Skip to content

Trying to override 3rd party vendor file

I’ve read over this page ( Magento2 – override 3rd party module layout file in custom theme ) and I am still having an issue.

What I am trying to do is override the 2 files that vendor offers for the end user to download. Which are sample.CSV and sample.XML file (Not to be confused with xml files within Magento). File path to them is below. These files are basic formats a customer can use to upload bulk orders.

vendor/amasty/module-quick-order/Files/Samples/
                                               sample.csv
                                               sample.xml

I’ve tried placing 2 edited files into the file path to override the vendor 2 files.

app/frontend/OURCUSTOMTHEME/THETHEME/Amasty_QuickOrder/Files/Samples/
                                                                    sample.csv
                                                                    sample.xml