magento

500 error on UrlFetchApp

被刻印的时光 ゝ 提交于 2021-02-10 15:16:18
问题 I am trying to pass data of a product list from Magento API to Google Spreadsheet. No authentication was required for the Magento API as I was retrieving the data as a Guest. The API is working perfectly with RestClient. However, 500 error occurred when fetching the REST resource from Googe Apps Script. Exception: Request failed for http://mymagentohost/api/rest/products?limit=2 returned code 500. Truncated server response: Service temporary unavailable (use muteHttpExceptions option to

500 error on UrlFetchApp

怎甘沉沦 提交于 2021-02-10 15:15:26
问题 I am trying to pass data of a product list from Magento API to Google Spreadsheet. No authentication was required for the Magento API as I was retrieving the data as a Guest. The API is working perfectly with RestClient. However, 500 error occurred when fetching the REST resource from Googe Apps Script. Exception: Request failed for http://mymagentohost/api/rest/products?limit=2 returned code 500. Truncated server response: Service temporary unavailable (use muteHttpExceptions option to

Make Magento 1.9 product filter collapsible

﹥>﹥吖頭↗ 提交于 2021-02-10 08:28:38
问题 I'm trying to make the product filter for a magento shop collapsible. I tried editing the view.phtml in template/category/layer/view.phtml But it's not working. I Edited these lines: <dt><?php echo $this->__($_filter->getName()) ?></dt> to <dt><a href="/"><?php echo $this->__($_filter->getName()) ?></a></dt> and i added some jquery like this: <script type="text/javascript"> /* <![CDATA[ */ jQuery(document).ready(function(){ jQuery("dl#narrow-by-list> dd:not(:first)").hide(); jQuery("dl#narrow

Switching a Base image with a thumbnail in Magento

一笑奈何 提交于 2021-02-08 03:27:28
问题 On a custom made product view page i'm working off from there is the base image (the large one) and a list of thumbnails which are other images associated with the product in the media gallery (they are just normal images and not the defined thumbnail), what i've been tasked to to is get it so that when you click on a thumbnail it'll change the base image above i've got that working however i have a problem, when i change the image the image it changes to is very pixelated one, the base image

Switching a Base image with a thumbnail in Magento

守給你的承諾、 提交于 2021-02-08 03:27:08
问题 On a custom made product view page i'm working off from there is the base image (the large one) and a list of thumbnails which are other images associated with the product in the media gallery (they are just normal images and not the defined thumbnail), what i've been tasked to to is get it so that when you click on a thumbnail it'll change the base image above i've got that working however i have a problem, when i change the image the image it changes to is very pixelated one, the base image

How to rewrite/extend a Magento class in an existing third party extension

女生的网名这么多〃 提交于 2021-02-07 18:16:28
问题 I'm trying to extend the class of a third party Magento extension. My module xml: within config>modules> tags <EDPA_MegaNavigation> <active>true</active> <codePool>local</codePool> <depends> <Infortis_UltraMegamenu /> </depends> </EDPA_MegaNavigation> My Config xml: within config>global>blocks> tags <ultramegamenu> <rewrite> <Infortis_UltraMegamenu_Block_Navigation>EDPA_MegaNavigation_Block_Navigation</Infortis_UltraMegamenu_Block_Navigation> </rewrite> </ultramegamenu> My extended class

How to rewrite/extend a Magento class in an existing third party extension

烈酒焚心 提交于 2021-02-07 18:16:07
问题 I'm trying to extend the class of a third party Magento extension. My module xml: within config>modules> tags <EDPA_MegaNavigation> <active>true</active> <codePool>local</codePool> <depends> <Infortis_UltraMegamenu /> </depends> </EDPA_MegaNavigation> My Config xml: within config>global>blocks> tags <ultramegamenu> <rewrite> <Infortis_UltraMegamenu_Block_Navigation>EDPA_MegaNavigation_Block_Navigation</Infortis_UltraMegamenu_Block_Navigation> </rewrite> </ultramegamenu> My extended class

How to rewrite/extend a Magento class in an existing third party extension

余生长醉 提交于 2021-02-07 18:15:15
问题 I'm trying to extend the class of a third party Magento extension. My module xml: within config>modules> tags <EDPA_MegaNavigation> <active>true</active> <codePool>local</codePool> <depends> <Infortis_UltraMegamenu /> </depends> </EDPA_MegaNavigation> My Config xml: within config>global>blocks> tags <ultramegamenu> <rewrite> <Infortis_UltraMegamenu_Block_Navigation>EDPA_MegaNavigation_Block_Navigation</Infortis_UltraMegamenu_Block_Navigation> </rewrite> </ultramegamenu> My extended class

PHPStorm / debugger not stopping at certain breakpoints

南笙酒味 提交于 2021-02-07 13:28:58
问题 I've set up XDebug (2.2.1) and PHPStorm-IDE (Mac OS X 10.7.5) with standard LAMP stack for Mac OS (Apache 2.2.22, PHP 5.3.15). /etc/php.ini [xdebug] zend_extension=/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so xdebug.file_link_format="txmt://open?url=file://%f&line=%1" xdebug.remote_enable = On xdebug.remote_autostart = "PHPSTORM" xdebug.var_display_max_data = 1024 xdebug.dump.GET=* xdebug.dump.POST=* xdebug.show_local_vars=On xdebug.dump.SERVER=* xdebug.dump_globals=On xdebug

Authorize.Net Direct Post for Magento - An error occurred while trying to report this transaction to the merchant

三世轮回 提交于 2021-02-05 11:08:33
问题 Authorize.Net Direct Post for Magento Getting below error. An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card. This transaction has been approved. It is advisable for you to contact the merchant to verify that you will receive the product or service. 回答1: This means the relay response URL used by Magento/your website is not