worlday Posted February 22, 2010 Share Posted February 22, 2010 商品详细图下拉框里的尺码不能按顺序正常排列,请问斑竹要怎么修改才可以呢。。。。。如图 Link to comment Share on other sites More sharing options...
21846657 Posted February 23, 2010 Share Posted February 23, 2010 是想让他们按照字母顺序排列吗?这么改——备份后修改classes/Product.php第1641行: ORDER BY agl.`name`'); 为 ORDER BY agl.`public_name`, al.`name`'); Link to comment Share on other sites More sharing options...
esoso Posted March 4, 2010 Share Posted March 4, 2010 我在1.2.5里面什么找不到这一行,是不是在新版本的?如果是1.2.5是修改哪个地方? Link to comment Share on other sites More sharing options...
21846657 Posted March 4, 2010 Share Posted March 4, 2010 以上适合13a1和13a2。13aX改进了125的表格product_attribute结构,所以,不知道下面这样改是否能在125上用。你可以验证下。修改classes/Product.php第1532或1533行: ORDER BY pa.`id_product_attribute`'); 为: ORDER BY agl.`public_name`, al.`name`); Link to comment Share on other sites More sharing options...
esoso Posted March 4, 2010 Share Posted March 4, 2010 好像不行,看我附件,左边是没改之前的,右边是改过之后显示的,不知道这个需要什么弄才行?新的版本有没有解决这个问题? Link to comment Share on other sites More sharing options...
21846657 Posted March 4, 2010 Share Posted March 4, 2010 试试在每个属性前加上序号,如:01.attribute a02.attribute b03.attribute c04.attribute d05.attribute e Link to comment Share on other sites More sharing options...
esoso Posted March 5, 2010 Share Posted March 5, 2010 没有其它的解决办法吗?这样的话,给客户的感觉不是很好,新的版本有没有解决这个问题? Link to comment Share on other sites More sharing options...
21846657 Posted March 5, 2010 Share Posted March 5, 2010 我在#3回复过了#1的方法适合13a1和13a2。 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now