magento: configurable 显示所有属性及获取 Json Config how to get Json Config by product id

1. 显示所有属性 $config_product = Mage::getModel('catalog/product')->load($_product->getId()); $productAttributeOptions = $config_product->getTypeInstance(true)->getConfigurableAttributesAsArray($config_product); 源于:http://stackoverflow.com/a/17045189/602382   2. 获取 Json Config $mageFilename = 'app/Mage.… Read More

magento SEO

关于Magento如何如何我就不做评论了,一句话,谁用谁知道,搜索了下,百度和谷歌中文里还真没有一篇系统的关于magento seo的内容,花了一个上午的时间,稍微整理了一下,算是给新人一个指引吧。主要从三个方面来说magento的优化,一是提升magento运行速度, 其次是magento的站内优化,三是magento的站外优化。   我们知道尽管很多人都清楚magento功能强大,但是运行起来相对较慢,这让很多外贸建站的朋友望而却步,今天我们就来分享一些提升magento速度的小技巧:   一、系统加速 1、给系统减负 去掉Incoming Message,进入后台,  System—C… Read More

Magento : 直接下载扩展插件到本地 Extension

Download Magento Extension 使用下面的链接下载插件。然后上传也可以。 http://freegento.com/ddl-magento-extension.php 输入key之后,网页直接给出下载链接。点击直接下载即可。   另外还有一个比较好的: http://www.tangkoko.com/direct-download-magento-extension/   一般 情况下最好还是使用magento connect直接安装插件。 手动下载   Format of the URL: http://connect20.magentocommerce.com/communi… Read More

Magento 获取当前货币和货币符How to get current currency in Magento

We know Magento support multiple currency. I have found the solution to check current currency in the Magento site frontend   To get Current Currency <?php echo $currency_code = Mage::app()->getStore()->getCurrentCurrencyCode(); ?> If you looking for current currency symbol use : <?php echo Mage::app()->getLocale()-&g… Read More

Magento:Service Temporarily Unavailable ?

如果出现错误: Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.   Check if there is a file called maintenance.flag in your magento root. If so Delete it.   When Magento is performing certain tasks it temporarily creates this file. Magen… Read More

PHP 7.3 提供的高级功能, Elite Features That PHP 7.3 Offers

  PHP团队向业内的PHP开发人员提供了一种新的PHP 7.3语言的圣诞礼物,给人以愉悦的感觉。这个新版本的时间表已经安排和部署了很多次,但是这个版本值得等待。它涵盖了将促进PHP开发的所有增强功能和功能列表。 值得探讨影响PHP开发的全新特性。赋予变更的主要领域是语法,弃用,新功能包含和其他杂项更改。您可以聘请专门的PHP开发人员USA,享受您的应用程序的新外观。 这个版本的一个主要改进是支持外部函数接口(FFI),它允许PHP程序员甚至在PHP脚本内部用C编写代码。根据Phoronix的说法,PHP 7.3的最后一个候选版本将带来近10%的性能提升,比7.0快31%。让我们更深入地探讨有… Read More

python: 获得PayPal余额(GetBalance API), python paypal nvp

安装 python 的paypal的库: https://github.com/paypal/PayPal-Python-SDK 要求: Python 2.6 or 2.7 +   安装: pip install paypal ## or easy_install: # easy_install paypal ## or download the source, un-tar/un-zip it, cd into paypal-python, and: # python setup.py install   申请 NVP/SOAP 开发账户 打开链接:https://developer.paypal.com/developer/accounts/ 登… Read More

亚马逊 Amazon: 如何安全的管理我们的账号账户

我们在亚马逊上会 听到这样的一句话:“没有死过几个帐号的卖家,不是大卖家”。其实我想说的没死过帐号的卖家也可以是大卖家,那时因为那些卖家没有按找亚马逊的规则去管理 好自己的亚马逊帐号,所以才导致自己的帐号死掉。今天我想给刚入手的新卖家分享我们如何安全的管理我们的账户。 首先我们的帐号风险主要来自这几方面: 第一:关联问题 第二个:帐号指标 第三:侵权问题(PS:第四个是税务问题VAT和KYC特别是做欧洲站的卖家)我们来一个一个地讲这个几个问题: 第一个:关联 关联的定义:亚马逊通过相关的技术手段获取卖家信息,判定多个账户是否为同一个卖家超作。(亚马逊规定一个人一生只能拥有一个亚马逊账户) 关联的危害:   1. 一… Read More

prototype.js教程及prototype中文手册

在线API文档:   http://www.prototypejs.org/api 1.4网页版: http://thinhunan.cnblogs.com/archive/2006/04/01/DeveloperNotesForPrototype.html 收集了网上的prototype.js教程及prototype中文手册,方便大家使用 prototype.js 1.4中文教程doc格式 下载:prototype1.4 prototype.js 1.4中文教程以及prototype 1.5英文教程以及prototype.js 1.5.1.1源文件 下载:prototype   我收集的一些prototype… Read More