File tree Expand file tree Collapse file tree 4 files changed +11
-16
lines changed
design/frontend/base/default/template/rekko Expand file tree Collapse file tree 4 files changed +11
-16
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ public function getPluginEnabledStatus()
88 return Mage::getStoreConfig ('rekko_section/rekko_group/enabled ' , Mage::app ()->getStore ());
99 }
1010
11- public function getRekkoMerchantID ()
11+ public function getSiteId ()
1212 {
13- return Mage::getStoreConfig ('rekko_section/rekko_group/merchant_ID ' ,
13+ return Mage::getStoreConfig ('rekko_section/rekko_group/site_ID ' ,
1414 Mage::app ()->getStore ());
1515 }
1616
Original file line number Diff line number Diff line change 2323 <show_in_website >1</show_in_website >
2424 <show_in_store >1</show_in_store >
2525 <fields >
26- <merchant_ID translate =" label tooltip comment" >
27- <label >Merchant ID</label >
26+ <site_ID translate =" label tooltip comment" >
27+ <label >Site ID</label >
2828 <sort_order >1</sort_order >
2929 <comment >Some comment about my field</comment >
30- <tooltip >Enter Rekko Merchant ID</tooltip >
30+ <tooltip >Enter Site ID</tooltip >
3131 <show_in_default >1</show_in_default >
3232 <show_in_website >1</show_in_website >
3333 <show_in_store >1</show_in_store >
3434 <frontend_type >text</frontend_type >
35- </merchant_ID >
35+ </site_ID >
3636 </fields >
3737 </rekko_group >
3838
Original file line number Diff line number Diff line change 1- <?php
2- $ merchantID = Mage::getStoreConfig ('rekko_section/rekko_group/merchant_ID ' );
3- ?>
1+ <?php $ siteID = Mage::getStoreConfig ('rekko_section/rekko_group/site_ID ' );?>
42
5- <?php if ($ merchantID ): ?>
3+ <?php if ($ siteID ): ?>
64 <!--Script tag for setup.js-->
75 <script type="text/javascript">
86 var cvtJsHost = (("https:" == document.location.protocol)
@@ -76,7 +74,7 @@ $merchantID = Mage::getStoreConfig('rekko_section/rekko_group/merchant_ID');
7674 <!--End Visitor Profile Tagging-->
7775 <?php endif ; ?>
7876 <script type="text/javascript">
79- window.convert = new Convert("<?php echo $ merchantID ; ?> ");
77+ window.convert = new Convert("<?php echo $ siteID ; ?> ");
8078 convert.init();
8179 </script>
8280<?php endif ; ?>
Original file line number Diff line number Diff line change 11<?php
2- $ moduleName = 'Smashmetrics_Rekko ' ; //eg Mage_Cms
3- $ merchantID = Mage::getStoreConfig ('rekko_section/rekko_group/merchant_ID ' );
4- $ domain_name = Mage::getStoreConfig ('rekko_section/rekko_group/domain_name ' );
5- $ enabled = Mage::getStoreConfig ('advanced/modules_disable_output/ ' . $ moduleName ) == 0 ;
6- if ($ enabled ):
2+ $ siteID = Mage::getStoreConfig ('rekko_section/rekko_group/site_ID ' );
3+ if ($ siteID ):
74 $ _product = Mage::registry ('current_product ' );
85 $ catIds = $ _product ->getCategoryIds ();
96 $ category = array ();
You can’t perform that action at this time.
0 commit comments