• Hi
    I am going to use Woocommerce to create a product catalog, but instead of using woocommerce product pages, i want to redirect those to a standard wp page where I can design each one completely different.

    Is there a way to overwrite the product pages URLs to go to a WP Page?

    My first idea is using htaccess but I am not sure if there are other ways to do this, without htaccess.

    the idea is:
    -Clicking on a product normally takes you to:
    https://www.xxxx.com/shop/product_name

    I would like them to go to:
    https://www.xxxx.com/page/product_name

    So instead of using the product page layout of woocommerce, it would direct you to a page I created in WP.

    any ideas?
    thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • This approach is not what I would suggest you to do. If you don’t like the default layout provided by WooCommerce then modify it yourself. There are two ways to do this.

    1) Read documentation provided on this by WooCommerce below on making your own CSS rules by first disabling WooCommerce’s CSS.
    Disable WooCommerce CSS

    2) Make your own WooCommerce Template Files. Here’s a link on how to do this below.
    Your Own WooCommerce Templates

    Thread Starter mlarino

    (@mlarino)

    Thanks respectyoda!
    I wish I had the knowledge to do that… ??
    I only have 2 days to do it so thats why I came up with that idea.

    but I have another one (not great but better than the first one)
    – Edit the products list template and replace <the_permalink> with a custom URL.

    The problem is that I cant find a way to extract the URL like I want.
    permalink = https://www.xxxx.com/shop/product1
    custom URL = https://www.xxxx.com/portfolio/product1

    Is there a way to get the products name? that would solve my problem
    thanks!

    You can modify the permalinks by going to Settings -> Permalinks then adding your custom permalink under the section called “Product permalink base.”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘woocommerce product page redirect to wp pages’ is closed to new replies.