Jump to content

How to set attribute like this effect? 怎样实现这样的产品属性效果?


xiaobing
 Share

Recommended Posts

Please visit
http://www.ybridal.com/a-line-strapless-chapel-train-satin-lace-wedding-dress-2.html


click the "Custom Size" then the "size" attribute is hidden, the five dimension blank is appeared and waiting for user inputting.

Does any prestashop or PHP master know How to set our own products and get same effect?

请看网址
http://www.ybridal.com/a-line-strapless-chapel-train-satin-lace-wedding-dress-2.html

点击 "Customize" ,同时 "size"就消失了,取而代之是需要定作的5个尺寸空格让客户填入。高手请试试,怎样实现这个效果?

Share this post


Link to post
Share on other sites

1. 备份后修改product.tpl,并用javascript控制smarty {$product->customizable} 这个部分的隐藏和显示。

2. 备份后修改global.css里控制上述代码的CSS。

请哪位高手试试?

Share this post


Link to post
Share on other sites

Thanks.
Do you mean they are two ways to get the effect or two steps?
You told your idea but do not get the result, is it difficult or complex? Does any other master can get the result or do it in other way?

谢谢答复.
你指的是两种方法还是同一种方法的两个步骤?你提出了思路,但没有具体实现,是否并不容易或者复杂?还有哪位高手可以照此思路实现,或者另辟思路?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More