doucheng5705 2015-07-10 09:00
浏览 45
已采纳

通过Magento中的CMS Page查看具有特定自定义属性值的类别中的产品

I have made a book store in magento. I have made a custom attribute called 'Author' that has names of author who has written the book.
I have made categories for the book like Fiction, Fantasy, Horror.
I have made a CMS page for Every Author. Eg. For CMS page of Author ABC. I have categories listed i.e (Fiction, Fantasy, Horror) inside that CMS Page.
When user clicks on the Fantasy link on that CMS page I need it to redirect it to page listing Books under Fantasy Category by Author ABC I tried giving link like "magento.com/fantasy?author=1" but when we click, it redirects to "magento.com/fantasy".
How to list Books under Fantasy Category by Author ABC ?

  • 写回答

1条回答 默认 最新

  • duandou2763 2015-07-10 13:50
    关注

    You should check how default magento sends parameters in URL. When the URL switches the protocol that is from http to https, params appended with "? = " will be lost.

    Try using following format : magento.com/fantasy/author/1/

    Also ensure that your attribute is filterable in layered navigation and your category is marked as anchor.

    Hope this helps!!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 请问这个是什么意思?
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样
  • ¥15 java的GUI的运用
  • ¥15 我想付费需要AKM公司DSP开发资料及相关开发。
  • ¥15 怎么配置广告联盟瀑布流
  • ¥15 Rstudio 保存代码闪退
  • ¥20 win系统的PYQT程序生成的数据如何放入云服务器阿里云window版?