Questions tagged [external]

The tag has no usage guidance.

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

Leverage browser caching, Amazon Pay Module & Google Recaptcha Module

Is there a way I can cache the following external contents? it is lowering my page score. https://coin.amazonpay.com/cs/uedata (expiration not specified) https://coin.amazonpay.com/rb/checkStatus ...
0
votes
0answers
24 views

Magento2 pass json data format in call to external service

Currently I'm referencing this article to post data to external services in a form data format. Some of the external services require in json format. How should I do it if I want to pass json format ...
0
votes
0answers
19 views

Masonry with ImagesLoaded and InstagramFeed

So i am trying to implement Masonry to Mageplaza InstaFeed Widget into a CMS page, but the code generated by the feed do not get Masonry working. Since If I copy the generated code once again into the ...
1
vote
0answers
107 views

Magento 2:External js at checkout loading issue

I am trying to create digital signature at checkout page(just before place order button) in my custom module. I have tried with below code: app/code/Company/Signature/etc/module.xml <?xml ...
0
votes
0answers
19 views

Trying to add an external CSS file to a specific CMS page in Magento 2.2.5

I can't seem to get external CSS file to load on a specific Magento 2.2.5 CMS page. My current XML layout update code is this <body> <attribute name="class" value="stacked"/> <...
0
votes
2answers
135 views

How to connect Third party service like ERP system in Magento 2?

How to establish the connection of third party ERP system in magento 2 ? I have credential of Acumatica, How can I establish the connection in Magento 2 and set some data to that ERP system, and Also ...
0
votes
1answer
80 views

Run external bash script using Magento 2

I'd like to create a file (e.g. script.sh) that will reside on the same server as my Magento 2 instance. I'd like to be able to call a URL (e.g RunScript.php) that would in turn execute this script ...
0
votes
1answer
23 views

What is the front-end performance differences of CSS loading types?

Magento 1.9, comparatively speaking, What are the front-end performance issues between types of loading CSS as: external internal inline as a style block (CMS blocks). Thank you so much for your ...
0
votes
1answer
23 views

Bootstrap Magento in external script with a second database connection

I use below code to bootstrap Magento in an external script, which works. As an example it gets the name of a specific product. Is it possible to connect to another Magento database (on the same ...
1
vote
3answers
276 views

Add external stylesheet link-rel head tag

Knewb here, I want to add external stylesheets via link rel to the head tag list of my store in version 1.9. I am also using Ultimo theme. Can it be done? What is the name of the file I am ...
1
vote
0answers
674 views

Magento 2 load external script in my custom page

I want to add an external script to my store. I have added the script in my phtml file and it is working fine. But I want to follow the magento EQP validation. Here is my working code my layout xml &...
1
vote
3answers
2k views

How can I redirect someone to external url from template and controller?

How can I redirect customers to external urls i.e. other websites from template and controller in magento 1.9? Like Mage::app()->getResponse()->setRedirect('https://payment.api.com'); exit;. It ...
0
votes
1answer
130 views

Magento 2.2 error when tried to load product or order in external file

I tried to load a product or an order form an external file using Object Manager but everytime i receive the same err: "PHP message: PHP Fatal error: Uncaught Magento\Framework\Exception\...
1
vote
0answers
131 views

Magento 2 to Netsuit error: BaseRef is an abstract type and cannot be instantiated

Here is my controller class <?php namespace Jlsmith\Netsuit\Controller\Api; use Jlsmith\Netsuit\Model\NetSuite\NetSuiteService; use Jlsmith\Netsuit\Model\NetSuite\Classes\GetRequest; use Jlsmith\...
3
votes
0answers
236 views

Automatic Login in Magento 2

I have an application where the user logs in, and I have a web service where I can send the data. How can I get the user logged in automatically to the e-commerce with the data received?
0
votes
1answer
230 views

How to add a script attribute to addItem

I want to add an embedded MailChimp script to my Magento 1 installation. However, the script has an attribute: <script type="text/javascript" src="//downloads.mailchimp.com/js/signup-forms/popup/...
1
vote
0answers
36 views

Use Magento header and footer on a webpage inside Magento root Directory in Magento2

I have a working web page which includes HTML and javascript. I want to use Magento Header and Footer on that webpage. Supposing that I kept that web page inside the Magento root directory, What is ...
0
votes
1answer
461 views

Magento 2.1 - Load Product in External Script

I'm porting over a little web service developed by a previous developer that pulled product data from an older Magento 1.9 install and spits it out as a json response. They bootstrapped Magento 1.9 ...
0
votes
2answers
140 views

get cart amount from external script

I want display the amount of items in the cart outside of magento. Thus I created this script inside a scripts folder in the magento directory: <?php require __DIR__ . '/../../app/bootstrap.php'; $...
1
vote
2answers
909 views

Login into Magento 2 site from external site

I have a site outside Magento's domain and I should allow Magento customer to login into Magento Store from this external site. Being completely new to Magento , I don't know how to implement this ...
1
vote
0answers
40 views

I would like to display my website inside an iframe but it does not appear

i'm trying to display my website inside an iframe for a marketing campaign. But when i try to display my website it's appear blank. This is the code
0
votes
1answer
367 views

Running magento admin code in external script for import

I'm trying to import products from csv by calling an external script. I've done the same for export and this has been smooth. However, import is failing, as it doesn't seem to properly translate the ...
0
votes
1answer
134 views

CSS and JS files for external theme not working in magento

I installed magento 2 and the luma theme works fine but on installing an external theme(multi stores by netbase), the page only loaded the header and complained about not being about not being able to ...
0
votes
1answer
942 views

Displaying all the Product of a Category in Magento 2

how to display all the products of a category in a phtml file using an external file in Magento 2
2
votes
0answers
27 views

Integrate a Micro Shop in a CMS out of Magento

We have a Magento 1.9.3 with different store views. Now i want to integrate a Micro Shop with only a few products on a partner website. It should show the product grid, the product detail grid and the ...
0
votes
1answer
76 views

Alternative way for test system for magento shop with large media folder?

I want test my first self-employed magento modules on a magento shop. I created a ubuntu server, configured local.xml and base_url but now I need a solution for the big media folder from livesystem. ...
2
votes
0answers
106 views

Error while Integrating 3rd Party API in my Magento Store

Notice: Trying to get property of non-object on line 58 of below code Below is the code. public function collectRates(Mage_Shipping_Model_Rate_Request $request) { if (!Mage::getStoreConfig('...
0
votes
1answer
236 views

Links are not correct after loading header & footer outside Magento

I have an external webpage say "test.php" and I have loaded the site header & footer block from the Magento framework to use as a header & footer in this external page. Everything is working ...
1
vote
1answer
4k views

Magento 2 external library folder

I am trying to keep the google library files but confused on the destination folder. In magento 1.9 we can kept in lib folder. Can any one please give the solution for that
5
votes
1answer
174 views

Connect Magento site with Php site?

We have magento 1.9 site and we want to make this as marketplace. For Marketplace, client don't want to use magento as he is telling if thousands of sellers upload millions of Products to site then ...
1
vote
2answers
3k views

How to set product images from external url

I have created products in magento site. Now I want to load product images from external url.. how I will do this?
0
votes
1answer
531 views

Magento 1.9 Import: “Invalid image file type.”

Ref:[1]: Magento 1.7 Import: "Invalid image file type." I am also having the same issue invalid image file type. I am trying to import product images from external url.. while importing the ...
1
vote
1answer
851 views

Add an external javascript function on a button in admin panel

I have a little problem to add an external javascript function in a <select>. I've got a file form.php in /app/code/local/{my_namespace}/{my_module}/Block/Adminhtml/{my_entity}/edit/tab/form....
1
vote
1answer
386 views

Base Url getting append in external url in header

I have a text field in System config, where url is put say wwww.facebook.com. Now when I am echoing the value from config in header it's giving me correct value. But when I am putting it in this code ...
2
votes
1answer
2k views

Adding to cart from external site

I currently have a website where users can design their products, then check out. Checking out redirects to the main Magento website, where the product is added to their cart (the custom product ...
0
votes
1answer
556 views

Multiple Add to Cart Button from External php site using product id

I have tried url method http://domain.com/checkout/cart/add?product=72&qty=1 for adding magento product to cart from external php website but it looks like this method is not working. I want to ...
0
votes
1answer
13 views

About accessing only through mage.php to generate json output

I want to disable the frontend and backend Magento web access temporarily and generate json output from the existing database content. Am I right when assuming controllers and blocks are not called ...
0
votes
2answers
653 views

Possible to run a cron task using external script?

i want to run product alert using external script, by default, the product alert run once a date, so i can't test the email (transactional template) <crontab> <jobs> <...
3
votes
2answers
864 views

Magento2 include external resources before local

I have the problem, that my external resources gets loaded after my local resources. So I can't override that styles. I have a custom theme and added a default_head_blocks.xml with the following ...
1
vote
4answers
2k views

How to get current customer in external file

In my module i have a php file which is called by an Ajax Post, after a user has clicked on a link. Now i need the customer-ID of that user who has clicked on this link. require_once("../../../../...
1
vote
0answers
60 views

How to use Magento Controller/Template in ModX?

I'm looking for a way to combine or to use a template from Magento in modx. There is a template I had to use in several systems and I don't want to create it every time from the scratch. So I wonder ...
10
votes
5answers
2k views

Where do I put .php, .js, .html, .css files from a 3rd party lib that interfaces with an extension I develop?

Let's say I want to develop a Magento extension that interfaces to, say, an Open Source charting package or an image gallery or whatever that is NOT part of the extension itself. When downloaded (...
2
votes
1answer
721 views

accessing external MSSQL database from magento to display more data

I am trying to pull information from an external mssql database for extra product information and display them on the product view page. I have read other similar posts, but they are for mysql only ...
6
votes
3answers
3k views

Magento 2 Connection to External Database

Can anyone provide a tutorial, or link to a tutorial for adding a connection to an external database in Magento 2? Slowly getting my head around the new structure and procedures in M2, but this one ...
6
votes
1answer
1k views

How to add third part php library that doesn't follow Magento standards?

I would like to use an external library (PayPal SDK to be specific) in /lib of Magento. I will use it in a new module. I've put lib/PayPal folder inside a new folder /lib/PayPal, but the class names ...
2
votes
3answers
3k views

Get All Carrier Lists in a Core PHP file

Want to fetch all Carrier Names in a .PHP file In a Core PHP file which is available in a inner folder of Magento, For Ex. MagentoRootFolder/CorePHPFolder/File.php** For Using Magento Code ...
1
vote
1answer
1k views

Magento API to import external data into Magento database

Are there Magento API to import massive external data (products) from a third-party application into Magento database programmatically? If they exist, what are they and how can I find them? Since I am ...
1
vote
2answers
137 views

Is the “Multi store” the right strategy?

I've a Magento CE 1.7 install with 1 website, 1 store and 2 storeviews (fr/en). In a closed futur, I'll have to deal with a partner who sells our products on his website (part of our catalog). I need ...
2
votes
1answer
1k views

Magento External Shipping Costs through a Custom API

I am trying to accomplish the following. I need to be able to add a custom shipping module that grabs shipping costs from an external system through an API. Once a customer gets to the point of ...
0
votes
1answer
240 views

External site using Magento admin login not working

We have an external application which needs some functions/data from Magento for certain things. I decided to make the login utilise the magento admin accounts and roles. This works and I can login on ...