Product Page ID forwarding to Latest Product
I’m making a website at work built of Woocommerce which has responsive CSS for mobile optimisation. The Mobile version of the website uses wp_dropdown_pages() for the navigation. For some reason though, when you attempt to navigate to the shop page using the select box, it takes you to what ever oldest product is instead.
I have permalinks enabled using /%postname%/ . I have found even if I try to get to the shop page by going to example.com/?page_id=4 (which is the shop page ID) it will still forward me to that page, how ever when I turn off permalinks, it goes to the correct page (?post_type=product)
Any idea as to why this is happening?
- The topic ‘Product Page ID forwarding to Latest Product’ is closed to new replies.