View MageBridge robots.txt
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
# Example robots.txt for MageBridge. | |
# Jooomla! is assumed to be in the root / | |
# Magento is assumed to be installed in /magento/ | |
# MageBridge Root Menu-Item is assumed to have an URL /shop/ | |
User-agent: * | |
Disallow: /administrator/ | |
Disallow: /bin/ | |
Disallow: /cache/ | |
Disallow: /cli/ |
View .htaccess
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
## | |
# @package Joomla | |
# @copyright Copyright (C) 2005 - 2018 Open Source Matters. All rights reserved. | |
# @license GNU General Public License version 2 or later; see LICENSE.txt | |
## | |
## | |
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE! | |
# | |
# The line 'Options +FollowSymLinks' may cause problems with some server configurations. |
View spanner
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
<script> | |
jQuery(document).ready(function() { | |
jQuery('h3').each(function(){ | |
var text = jQuery(this).text().split(' '); | |
if(text.length == 1){ | |
text[0] = '<span class="firstWord">'+text[0]+'</span>'; | |
} | |
if(text.length == 2){ | |
text[0] = '<span class="firstWord">'+text[0]+'</span>'; |
View success.phtml
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
<! ----- tracking code -------- !> | |
<?php | |
// Transaction Data | |
$orderID = $this->getOrderId(); | |
$order = Mage::getModel('sales/order')->loadByIncrementId($orderID); | |
$orderTotal = $order->getGrandTotal(); | |
// you can also add affiliation, shipping and tax | |
$trans = array('id' => $orderID, |
View My Maps Location + K2 items
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
UPDATE | |
s1du4_mymaplocations_location, s1du4_k2_items | |
SET | |
s1du4_mymaplocations_location.extra_id = s1du4_k2_items.id | |
WHERE ( | |
s1du4_mymaplocations_location.catid = 8 | |
AND | |
s1du4_k2_items.catid = 154 | |
AND | |
s1du4_mymaplocations_location.name LIKE CONCAT('%', s1du4_k2_items.title ,'%') |
View Magento bug carrelli abbandonati
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
Creare la cartella | |
app/code/local/Mage/Reports/Model/Resource/Quote/ | |
Copiare il file | |
app/code/core/Mage/Reports/Model/Resource/Quote/Collection.php | |
incollare in |
View success.phtml
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 | |
// Transaction Data | |
$orderID = $this->getOrderId(); | |
$order = Mage::getModel('sales/order')->loadByIncrementId($orderID); | |
$orderTotal = $order->getGrandTotal(); | |
$orderDetails = $order->getData(); | |
$couponCode = $orderDetails['coupon_code']; | |
?> |
View config.xml
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
<?xml version="1.0"?> | |
<!-- | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Academic Free License (AFL 3.0) | |
* that is bundled with this package in the file LICENSE_AFL.txt. | |
* It is also available through the world-wide-web at this URL: |
View methods.phtml
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 | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Academic Free License (AFL 3.0) | |
* that is bundled with this package in the file LICENSE_AFL.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/afl-3.0.php |
View config.xml
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
<config> | |
<global> | |
<sales> | |
<order> | |
<states> | |
<pending_payment translate="label"> | |
<visible_on_front>1</visible_on_front> | |
</pending_payment> | |
</states> | |
</order> |
OlderNewer