Questions tagged [external]
The external tag has no usage guidance.
57
questions
0
votes
0
answers
32
views
Hide the Cookie Banner on certain pages
I have a product widget page which I put in an iframe of an external site.
I need to deactivate the cookie message for this, suggestions?
1
vote
0
answers
25
views
URL Input opentab Issue
Open in new tab its not working fine in my admin form, its always showing checked if either its value false. In Database value showing correctly but in editpage it is always showing checked.
[link] =&...
0
votes
0
answers
430
views
Include HTML content from external url in Magento2
I have HTML file which is hosted on other server.
http://testsite.com/test/index.html
which has the content like this(As a example)
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv=&...
0
votes
1
answer
131
views
Load Magento 2 static Block content in external website php file
I have a requirement like below.
There is a website which is running in production mode in one server.
That has some static blocks.
A block is created with some content(Ex:Block_Id: sample_block). ...
1
vote
0
answers
774
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
2
answers
840
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
1
answer
2k
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
1
answer
29
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
1
answer
88
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
3
answers
863
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
0
answers
2k
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
3
answers
4k
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
1
answer
290
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
0
answers
459
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\...
4
votes
0
answers
375
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
1
answer
332
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
0
answers
52
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
1
answer
794
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
2
answers
219
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
2
answers
2k
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
0
answers
57
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
1
answer
494
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
1
answer
149
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
1
answer
1k
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
0
answers
31
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
1
answer
84
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
0
answers
130
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
1
answer
264
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
1
answer
7k
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
1
answer
230
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
1
answer
4k
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
1
answer
784
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
1
answer
1k
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
1
answer
589
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
1
answer
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
1
answer
703
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
1
answer
24
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
2
answers
822
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
2
answers
1k
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
4
answers
3k
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
0
answers
66
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
5
answers
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
1
answer
776
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 ...
8
votes
3
answers
7k
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 ...
7
votes
1
answer
2k
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
3
answers
4k
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
1
answer
2k
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
2
answers
146
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
1
answer
2k
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
1
answer
332
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 ...