Viewing 7 replies - 1 through 7 (of 7 total)
  • Hey there Kenika,

    Hope you’re well today!

    This is not something that is possible out of a box with the current version of MarketPress. All slugs within the plugin are directly related to the store base slug and removing that would require making custom modifications to the plugin.

    I’ll definitely suggest this to our developers so this can be considered to be changed in the future.

    Best regards,
    Bojan

    Thread Starter Kenika

    (@kenika)

    Hi Bojan,

    thanks for asking. I’m having a great day today. ?? I hope you too.

    About the topic: Hm, too bad. I’m using a plugin that allows me to use widgets/create sidebars wherever I want. So I do not only have them in my blog/news area, but also in my shop. Unfortunately, this only works in the “store base page”. If I have an empty cart for example, there’s the link “browse products” which leads me to the “/store/products” page that I can’t modify and hence where I can’t add sidebars. One of the widgets I need is the cart which can’t be seen in my products list page. I hope you get what I mean. Maybe it’s easier to check on my page:
    1) This is my shop page with sidebar/widgets (cart e.g.).
    2) This is the product list that I get when I click on “browse products” in my empty cart. I’d like to change that link to the above shop page.

    I hope you can understand what I try to describe. ??
    Thanks for your support, Bojan!

    Hey again Kenika,

    As I mentioned in my previous post you can’t change the URL of the product page.

    However, you could display your products on a separate page by using MarketPress shortcodes, using the following shortcode will display your products:

    [mp_list_products]

    By having this on a page rather then using archive page to display products you should be able to add custom sidebar to it.

    You’ll find more information about MarketPress shortcodes in Products -> Store Settings -> Shortcodes.

    Please let me know if this helps ??

    Best regards,
    Bojan

    Thread Starter Kenika

    (@kenika)

    Hi Bojan,

    thanks for your reply.

    As I mentioned in my previous post you can’t change the URL of the product page.

    Yes, I got that and I also used that [mp_list_products] shortcode (see link no. 1 in my previous post). ??
    I just wonder if it’s possible to change the link in an empty cart (saying “browse products”) to my page that’s made with the [mp_list_products] shortcode and NOT to the “official” products list page.

    Happy worker’s day!

    Hey again Kenika,

    Happy worker’s day to you too!

    There is a filter you can use to change the actual product page link with your own link. Please try adding the following to your theme functions.php. Ideally you’d want to add this to your child theme functions.php so you can avoid losing changes when you update the theme.

    add_filter( 'mp_products_link', 'my_mp_products_link', 10, 1 );
    function my_mp_products_link($link) {
     return 'your_product_page_URL';
    }

    Replace dummy URL (your_product_page_URL) with the actual URL to your product page. This should make that browse products to link to your page instead of default product page.

    Hope this helps ??

    Cheers,
    Bojan

    Thread Starter Kenika

    (@kenika)

    Awesome! That’s exactly what I’ve been looking for. Thank you! ??

    Glad I could help ?? Have a great day!

    Cheers,
    Bojan

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Make products list page and store base page the same? (Permalink)’ is closed to new replies.