This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require([ | |
'jquery', | |
'ko', | |
'mage/url', | |
'Magento_Checkout/js/model/quote', | |
'Superpayments_SuperPayment/js/view/payment/method-renderer/super_payment_gateway' | |
], function ($, ko, url, quote, SuperPaymentGateway) { | |
'use strict'; | |
var quoteTotals = ko.observable(quote.totals()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Fonts, variables and other global stuff | |
*/ | |
/** | |
HG Fonts && sizes | |
*/ | |
@import '_hgstyles'; | |
@import "_additionalToMerge"; | |
@import '_hghomepage'; | |
@import "_category"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* Do not edit or add to this file if you wish to upgrade the module to newer | |
* versions in the future. If you wish to customize the module for your | |
* needs please contact us to https://www.milople.com/contact-us.html | |
* | |
* @category Ecommerce | |
* @package Milople_Stripe | |
* @copyright Copyright (c) 2018 Milople Technologies Pvt. Ltd. All Rights Reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/magento module:disable \ | |
Magento_GoogleShoppingAds \ | |
Magento_AdobeIms \ | |
Magento_AdobeImsApi \ | |
Magento_AdobeStockAdminUi \ | |
Magento_AdobeStockAssetApi \ | |
Magento_AdobeStockClient \ | |
Magento_AdobeStockClientApi \ | |
Magento_AdobeStockImage \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); //mag23 | |
namespace Ced\VivaPayments\Controller\Viva; | |
use Exception; //mag23 | |
use Magento\Framework\App\Action\Action as AppAction; //mag23 | |
use Magento\Framework\App\CsrfAwareActionInterface; //mag23 | |
use Magento\Framework\App\Request\InvalidRequestException; | |
use Magento\Framework\App\RequestInterface; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); //mag23 | |
namespace Ced\VivaPayments\Controller\Viva; | |
use Magento\Framework\App\CsrfAwareActionInterface; //mag23 | |
use Magento\Framework\App\Request\InvalidRequestException; //mag23 | |
use Magento\Framework\App\RequestInterface; //mag23 | |
use Magento\Framework\App\Config\ScopeConfigInterface; | |
use Magento\Framework\App\Action\Action as AppAction; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class LocalValetDriver extends Magento2ValetDriver { | |
public function frontControllerPath($sitePath, $siteName, $uri) | |
{ | |
if ($_SERVER['HTTP_HOST'] === 'm2.dev') { | |
$_SERVER['MAGE_RUN_CODE'] = 'base'; | |
$_SERVER['MAGE_RUN_TYPE'] = 'website'; | |
} | |
if ($_SERVER['HTTP_HOST'] === 'us.m2.dev') { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |