Archive for the 'to myself' Category

10月
22nd 2009
Zen Cart 中如何移动购物车 (add to cart)的位置

Posted under to myself

这个问题困扰了我好几个月,因为我做的某个站就是采用的zencart源码,当然开源是他最大的特点,但由于本人不懂php,导致调试修改时困难重重,默认的模板中,产品页面中购物车是在产品描述的后面,几乎是页面的最下方了,显然不利于转化,在网上搜了好久,得出的解决方案是修改模板文件中的tpl_product_info_display.php的文件,将其中控制add to cart购物车的代码移动到你希望的位置即可,可是我试了好多遍,前台都没丝毫变化,我一怒之下把购物车代码全删了,没想到页面上还是能显示,郁闷。

就这样放了好几个星期,某一天我突然灵光乍现,在后台developer tool中搜索add to cart代码,发现控制前台的并不是tpl_product_info_display.php,而是tpl_document_product_info_display.php.移动了代码后,购物车终于可以放在产品图片旁边了,另外在模板中的css文件里也可以控制购物车的背景颜色和大小。

把我的解决方案写出了,希望能够给遇到相同问题的兄弟们一点启发:)

No Comments »

07月
31st 2008
Write to Myself

Posted under to myself

       From the perspective of lunar days,today is my birthday,I am already 22 years old.How time flies! I still remember what I did last July! Anyway,I feel I am in a bad mood for a long long time.Worse still,I can’t find the exact reason. Lack of Love? Lack of Money? I don’t think so. In fact, I am easy to be content,even finding a nice song would make me happy for several days.

     I think I should think one question seriously.That is: What I want? Which life path should be my choice? I have to set up a goal for me.For example,getting married before 30,buy a house and a car in 4 years.I know they are quite challenging,however,as some one said,without difficulty ,our life is meaningless.So Just scratch from today,make a sound plan and then go for the way of pursing my happiness.By the way,I wanna find a whole life company(female).

   At last,Say happy birthday to myself.Hope I will be more mature,more patient and more dilligent. I really want to see a brand new dicky in the next year.

No Comments »