E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
magento
Magento
: 左栏筛选条件 Select Box / Button / Dropdown List on Layered Navigation
1.下拉框SelectBoxYouhaveplaintextandlinktothosetextin
Magento
LayeredNavigationsection.YoucaneasilychangethedisplayofLayeredNavigationlinksintoaselectionbox
天梯梦
·
2015-12-23 08:00
Magento
: 单产品(product)或者当前类别(category)最大和最小价格 Min/Max Product Price in a Category
1.当前类别最大最小价格:$minPrice=Mage::getModel('catalog/product')->getCollection() ->addStoreFilter() ->addAttributeToSelect('price') ->addAttributeToSort('price','ASC')->getFirstItem()->getMinimalPrice()*1
天梯梦
·
2015-12-23 08:00
PhpStorm 快捷键大全 PhpStorm 常用快捷键和配置
Phpstrom的一款名为Magicento的插件对快速创建
Magento
插件十分有用。
狼来了
·
2015-12-22 09:00
PHP
Magento
Mage_Core_Exception Invalid login or password
Iamrunninga
Magento
Storeandhavecreatedaseperateloginoutsideoftherootfolder.ImovedthestorefromBluehosttoRackspacecloudandnowIgetthismessagewhentryingtologinFatalerror
天梯梦
·
2015-12-22 03:00
Magento
: 无法登录后台 Can't login to admin panel
Thistutorialshowshowtoresolvethe
Magento
adminpanelloginissue.
天梯梦
·
2015-12-22 02:00
magento
通过程序创建客户和订单
1.首先创建一个用户,并创建改用户登录的session$customer = Mage::getModel('customer/customer'); //$customer = new Mage_Customer_Model_Customer(); $password = '123456'; $email = '
[email protected]
'; $customer->setWebs
鋒F
·
2015-12-19 19:00
Magento
1.9.x 暴力换密码
遇到丢掉密码的情况,其实很常见……比如我这记性,还好我比较暴力:-P 先看一段代码: /** * Hash a string * * @param string $data * @return string */ public function hash($data) { return md5($data); } /** * Validate hash agains
LXRM
·
2015-12-18 18:00
新版PHP 7效能實測:Drupal 7能快70%,碎形計算大勝Ruby和Python
Zend公司選擇了幾套知名軟體和框架來比較,包括了電子商務平臺
Magento
、開源CRM軟體SugarCRM、CMS系統Drupal和WordPress、開發框架Laravel和ZendFramework
PHP群:223494678
·
2015-12-18 15:00
Magento
多图导入
Magento
批量上传多图模块更新时间:2011-04-12插件名称:
Magento
批量上传多图模块 适用版本:
Magento
1.4x
Magento
1.3x
magento
1.7.
jaychang
·
2015-12-16 23:00
Magento
模板主题安装
我们所使用的主题在“主题文件”中,“主题包”中可以含有多个主题文件######认识
magento
主题第一步首先我们来看下
magento
主题文件的存放规则主题文件路径一般为app/design/frontend
jaychang
·
2015-12-16 23:00
Magento
在php7下速度测试
Magento
performanceisarecurrentproblemforalldevelopersandstoreowners.ButPHP7iscomingandyoushouldthinkaboutusingitverysoon
shuishui8310
·
2015-12-16 12:00
性能
Magento
php7
magento
coupon code(优惠券)
magento
的couponcode可以通过后台配置生成,首先进入
magento
的后台页面,点击promotion(促销),然后点击购物车规则,现在你就进入了生成couponcode的页面。
夕默涛
·
2015-12-16 00:33
magento优惠券
Magento
实现手机和用户名登录
默认情况下,
magento
只支持邮箱登录,所以我们需要修改一下代码。思路是:可以通过输入的手机号和用户名来查找邮箱。
夕默涛
·
2015-12-15 23:12
Magento
: Mage::getResourceModel, Mage::getModel 和 Mage::getSingleton() 的区别 when
Perfectdifferecewithexampleforgetsingletonandgetmodel. Mage::getSingleton()Mage::getSingleton()willfirstcheckifthesameclassinstanceexistsornotinthememory.Iftheinstanceexiststhenitwillreturnthesameobje
天梯梦
·
2015-12-15 14:00
Magento
: 获取客户信息 Get Customer’s Full Name, First Name, Last Name and Email Addres
1. 获取已登录客户信息//Checkifanycustomerisloggedinornot if(Mage::getSingleton('customer/session')->isLoggedIn()){ //Loadthecustomer'sdata $customer=Mage::getSingleton('customer/session')->getCustomer();
天梯梦
·
2015-12-15 14:00
Magento
: 获取商店名称及邮件地址 Get Store Email Addresses
GeneralContact/*SenderName*/ Mage::getStoreConfig('trans_email/ident_general/name'); /*SenderEmail*/ Mage::getStoreConfig('trans_email/ident_general/email'); SalesRepresentative/*SenderName*/ Mage
天梯梦
·
2015-12-12 07:00
Magento
: 验证客户密码 How
magento
store password and validate password
Magento
usesMD5andsaltalgorithemstostorepasswordforcustomeraswelladminuser.
天梯梦
·
2015-12-12 07:00
Magento
系统中应用的12种设计模式
Magento
itsarchitectureissometimesdeemedoverlyengineered.Ifwelookatitfromahelicopterview,commonlyuseddesignpatternsareeasilyspotted.Hereare12ofthem.IntroductionA
shuishui8310
·
2015-12-11 13:00
设计模式
Magento
Magento
搬家、换域名、重新安装教程
一、首先要通过phpMyAdmin备份整个
magento
的数据库。备份数据并且存为.SQ
天梯梦
·
2015-12-11 03:00
Magento
1.8+/1.9+ 无法更新购物车产品数量 Quantity in checkout shopping cart doesn't work pr
InyourthemedirectoryInyour/app/design/frontend/yourthemepackage/default/template/checkout/cart.phtmlfileOR/app/design/frontend/default/yourtheme/template/checkout/cart.phtmlfilegetUrl('checkout/cart/u
天梯梦
·
2015-12-11 03:00
亚马逊云服务安装magneto How To Install
Magento
On Amazon EC2
Magento
isanopensourcecontentmanagementsystemforecommercebasedwebapplications.Itisapopularecommerceopensourcewebapplication.Thereisalsoanenterpriseeditionfor
magento
.So
天梯梦
·
2015-12-09 02:00
magento
rewrite url
1.通过修改模块下的config.xml来重新url 1 这样写就是正则的匹配替换preg_replace(),详情看这里classMage_Core_Controller_Varien_Frontpublicfunctionrewrite(){}这之前还
鋒F
·
2015-12-04 09:00
Magento
创建唯一优惠券 Create unique coupon code in
Magento
Nowwewillshowyouhowtomanagecouponcodestrough
Magento
andprepareforyournext“offline” campaign.
天梯梦
·
2015-12-01 02:00
Magento
批量生成优惠券
使用
Magento
后台手动生成优惠券,效率太低了。如果生成1万个号码不一样的优惠券,还是要靠代码。
天梯梦
·
2015-12-01 02:00
移除
magento
投票栏 How to remove
magento
poll block
Magento
isnowadaysthemostknownCMSifwearetalkingabouteCommerce.Weallknowthata
magento
storehaveatitsbaseblocks.Categoryblocks
天梯梦
·
2015-12-01 02:00
Magento
添加评论 How to add
Magento
Product Reviews form anywhere on product page
Productreviewshelpsinboostingcustomer’sconfidenceinyourproduct.Nopointsforguessingwhytheyareoneoftheprimarydrivingforcebehindconversion.Amazonisagreatexampleofproductreviewswhereamajorityoftheproducts
天梯梦
·
2015-12-01 02:00
Magento
移除标签 How to remove “Tags” block from a product page
ThistutorialwillshowyouhowtoremoveTagsblockfrom
Magento
productpageЖThereare2waysofremovingthetaggingfeaturefromproductpages
天梯梦
·
2015-11-29 02:00
Magento
购物车不能加载付款栏
Magento
1.8 and 1.9 Payment not loading on Checkout
I’veupdatedoneofmystorestothenewversion1.8.0of
Magento
andallwasgreatuntilItrythecheckout.OnthecustomeronepagecheckoutIjuststuckonstepShippingMethod
天梯梦
·
2015-11-29 02:00
Magento
开启星级评价 How to add the yellow star rating system
It’sacommonpracticetouseratingsfortheproductsintheshoppingwebsite.Thiswayvisitorscanratetheproductsaccordingtotheirquality.Bycollectingratingresults,websiteownersareabletosummarizewhichproductsarebest
天梯梦
·
2015-11-29 01:00
Magento
WeChat Login Extension V3.0, Support
Magento
1.9.X
TheWeChatExpressLoginmoduleenableloginin
magento
withWeChatprofilecredentialsbyscaningQRcode.ABOUT
MAGENTO
WECHATLOGINEXTENSIONWeChatLoginmoduleenableloginin
magento
withWeChatprofilecredentialsbyscaningQRc
Alipaymate
·
2015-11-25 09:00
express
login
login
wechat
wechat
Magento
Magento
自定义分页代码 How to change pagination design in product listing page in magen
Ihaveworkedinthetemplate\catalog\product\list\toolbar.phtmlwhereyoucanchangethetotaltoolbardesign.ButtherehaveafunctiongetPagerHtml()?> it'sforthepagination.ifyouwanttochangepaginationhtmlthengotothet
天梯梦
·
2015-11-25 08:00
Magento
获取产品(filter过滤器)属性值
Magento
Product Attributes Values and Labels
Ihavefoundthatitisveryusefultobeabletogetattributesfromthesystemandusetheminplacesotherthanaproductscategorypage.Ialwaysforgettheexactsyntaxtouseso,thisisgoingtobemyunofficialcheatsheet. Thisishowtoge
天梯梦
·
2015-11-25 08:00
Magento
微信登陆模块 /
Magento
微信联合登陆 / 支持
Magento
1.9.X
Magento
微信登陆演示截图在
Magento
网站中增加微信登陆按钮或者链接点击微信登陆后,跳转到微信官方站点,扫描二维码。在微信APP中确认授权成功获取用户资料
Alipaymate
·
2015-11-24 23:00
Magento
微信跨境支付模块V2.1发布
Magento
WeChatCross-borderPayment的支付流程1.客户选择微信支付2.跳转至财付通支付中心,用手机上的微信APP扫描二维码3.客户输入微信支付密码
Alipaymate
·
2015-11-24 09:00
wechat
Magento
payment
Tenpay
Cross-border
Magento
WeChat Cross-border Extension Version 2.5
This
Magento
extensionallowsyoutoacceptpaymentsmadeviatheWeChatCross-borderPaymentgatewayofTenpay.Themodulesupportsallofthe10currencies
Alipaymate
·
2015-11-24 09:00
Magento
1.9 : 获取产品图片 Get Image Gallery in list.phtml
$_product_images=Mage::getModel('catalog/product')->load($_product->getId())->getMediaGalleryImages(); foreach($_product_images->getItems()as$_product_image)echo$_product_image->getUrl(); //or
天梯梦
·
2015-11-24 03:00
Magento
获取系统设置 How to get data from
Magento
System Configuration
IjustwanderingonhowIcangettheconfigurationdataformycustommodule.Theconfigurationcanbesetfromtheadminsystem->configurationandhowtopullitinfrontend? 解决:$configValue=Mage::getStoreConfig('sectionName/gr
天梯梦
·
2015-11-24 03:00
Magento
: 解决 Bootstrap 3 与prototype并用的时候, 下拉菜单消失的问题 Bootstrap 3 dropdown menu dis
方法一: 使用友善的文件 EASYFIX: Justreplace
Magento
’sprototype.jsfilewiththisbootstrapfriendlyone: https://raw.github.com
天梯梦
·
2015-11-24 03:00
Magento
创建用户代码 Creating a new customer in
Magento
(RESTful,PHP)
$customer=Mage::getModel('customer/customer'); //$customer=newMage_Customer_Model_Customer(); $password='iks123456'; $email='
[email protected]
'; $customer->setWebsiteId(Mage::app()
天梯梦
·
2015-11-18 02:00
magento
1.9 用户无法登录
magento
1.9 customer can not login
Lookslikeanissuewithform-keyGotoapp/design/frontend/[Your-package]/[Your-theme]/template/customer/form/login.phtmlandtemplate/persistent/customer/form/login.phtmlandunderFind:Andpastethisrightafterthe
天梯梦
·
2015-11-18 02:00
Magento
数据库查询速记
query.phpload(1); //echo'';print_r($product);echo''; /* *selectquery */ //FirstWay //$description=$product->getData('description'); //SecondWay //$description=$product->getDescription()
天梯梦
·
2015-11-18 02:00
Magento
适配Mysql5.7的全文检索,支持中文分词
我这里分享下我自己花了2小时写的
Magento
模块,让你的
Magento
不需要Solr或Sphinx就能在搜索时支持中文分词了(前提:Mysql5.7)ht
shuishui8310
·
2015-11-17 17:00
mysql
Solr
sphinx
全文检索
Magento
Magento
获取已登录用户的信息– Get Logged In Customer’s Full Name, First Name, Last Name an
//Checkifanycustomerisloggedinornot if(Mage::getSingleton('customer/session')->isLoggedIn()){ //Loadthecustomer'sdata $customer=Mage::getSingleton('customer/session')->getCustomer(); $customer
天梯梦
·
2015-11-17 01:00
Magento
主题结构 The structure of a
Magento
theme
Thestructureofa
Magento
themeThefilesina
Magento
theme aredividedintotwomaindirectories: app and skin,asshowninthefollowingscreenshot
天梯梦
·
2015-11-17 01:00
怎样改动、扩展并重写
Magento
代码
作为一个开发人员的你,肯定要改动
Magento
代码去适应你的业务需求,可是在非常多时候我们不希望改动
Magento
的核心代码,这里有非常多原因, 比如将来还希望升级
Magento
、还想使用很多其它的
Magento
·
2015-11-13 18:36
agent
在
Magento
产品页面的使用jqZoom
Magento
在产品页面提供了一个简单的图片放大功能,不是非常好,假设考虑使用放大镜来使用户查看产品的大图。能够考虑使用基于jQuery的插件, jqZoom便是一款优秀的放大镜插件。
·
2015-11-13 16:03
agent
站点缓存
magento
缓存系列详解:实施正确的缓存策略及不同缓存结构分析
在写这篇文章之前,xxx已经写过了几篇关于改站点缓存主题的文章,想要了解的朋友可以去翻一下之前的文章 本篇文章重要分析一下在maegnto里cache(File System, APC, Memcached, Redis)的应用,及在不同的服务器环境中改怎么应用让其能性到达最好。
·
2015-11-13 15:03
agent
How to Programmatically Add/Delete Custom Options in
Magento
? - See more at: http://apptha.com/blog/
In this tutorial, I would like to help out
Magento
developers and clients with how
·
2015-11-13 15:43
delete
magento
xml配置详解
<?XML版本=“1.0”? <config> <节> 实施例translate="label"> <label>的一个例子</标签> 一个<tab>一般</标签> 的<frontend_type>文本</ fr
·
2015-11-13 10:19
agent
Magento
给产品添加“new”或者折扣数量标签
magento
new label. discount label
文章最底部有效果图。 给新产品添加“new”的标签。给折扣产品,显示出折扣的数量。 这个可以自己写一段代码加在到模板文件夹下面的catalog/product/list.phtml中。 以下是代码 <?php $now_tm = Mage::getModel( 'core/date' )->timestamp(time()); ?> <!-- add new--&
·
2015-11-13 07:38
label
上一页
15
16
17
18
19
20
21
22
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他