Questions tagged [external-script]

The tag has no usage guidance.

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

How to use SRC_TYPE_CONTROLLER available as a src_type in assets in Head.php?

Does any one have used the src_type="controller" as we do the same for src_type="url" in frontend *.xml files? Looking into the below file but nothing found relatively. <magento-root>/vendor/...
0
votes
1answer
66 views

Load Magento objectmanager via a class

Having a bit of an issue with this one, I managed to get a working interface to Magento by including the following code, which in turn includes the Magento 2 bootstrap.php use Magento\Framework\App\...
1
vote
3answers
147 views

How Reindex and Reset programmatically in magento 2?

I Need to reindex and reset the indexer programmatically using external script from magento root. How can i achieve this.Is there a Way to do this.? I am new in magento. Please help me. Thanks in ...
0
votes
2answers
401 views

Magento 2: How to load my custom js file after footer?

JS File Path: web->js->swap.js default_head_block.xml <referenceContainer name="before.body.end"> <block class="Magento\Framework\View\Element\Text" name="swapjs"> ...
0
votes
1answer
162 views

Magento 2: EAV Attribute is not showing on catalog page

I've made an EAV attribute using an external script but the attribute is not showing on catalogue page. The database has created. I tried to put value in EAV Database but nothing works. Ext_Script in ...
2
votes
0answers
50 views

Magento 2.3 how to automatically upload videos to page from youtube channel

I want to get all videos from youtube channel and load it on page. How can I do that? Is there some free plugins or mb I need to use some of JavaScript libraries? I found YouTube Gallery Widget, but I'...
1
vote
1answer
336 views

Get the cart contents from an external script, using bootstrap.php and ObjectManager?

Running Magento 2.3.1. I'm having trouble understanding how to get the customer's checkout/cart session data from an external PHP script. The script is hosted and run on the same domain as the ...