• Howdy,

    I have this issue where the Marketpress permalink structure will work fine, except until it gets to the product page itself.

    Ie the structure of my store is like:

    https://XXX.com/store/products/

    Then I go to an actual product, and it decides to add the /news/ permalink to the url, like:

    https://XXX.com/news/store/products/myproduct/

    Now, obviously I’ve set my permalink structure to:

    ‘Custom Structure’: /news/%postname%/

    So it’s putting that news tag in. But I don’t wan’t it to. Obviously removing /news/ from my custom structure will fix the problem, but then creates a problem for all my news items (posts)!!!

    There is the permalink options panel under ‘presentation’, but it has every permalink structure except for the product itself, so I can’t change it here.

    Does anyone have any ideas!?!?

    https://www.ads-software.com/extend/plugins/wordpress-ecommerce/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi projectfuturism,

    That appears to be the way that WordPress itself handles the permalinks in general. You’ll notice the same occur with other plugins, especially ones that use custom post types.

    I’ll ask the developers if there might be an easy workaround but you may want to consider not using that particular format as similar issues would occur with a lots of other plugins.

    Cheers,
    David

    Thread Starter projectfuturism

    (@projectfuturism)

    OK, I get this, and understand this and I guess I will have to alter my permalinks.

    But all I’m recommending is…you have options to alter all the other permalinks for the store’s URL’s…except the actual product page.

    So all the other permalinks work fine (checkout, order status, shopping cart etc) because they have a custom option built into the settings, but not the actual individual products.

    PF.

    Thread Starter projectfuturism

    (@projectfuturism)

    OK, the other reluctance I have about moving ALL of my news items from XXX.com/news/post-name to XXX.com/post-name is the fact that I have facebook comments integrated, and I will therefore lose ALL of my facebook comments when I change the URL…

    Can you please just insert an option to choose where the individual products are permalinked??

    PF

    See my post near the bottom of this thread:

    https://www.ads-software.com/support/topic/plugin-marketpress-lite-wordpress-ecommerce-marketpress-ecommerce-plugin?replies=20

    This sounds like the same issue you are having. I remedied this by modifying line 644 of marketpress.php
    from:
    'rewrite' => array('slug' => $settings['slugs']['store'] . '/' . $settings['slugs']['products']), // Permalinks format
    to:
    'rewrite' => array('slug' => $settings['slugs']['store'] . '/' . $settings['slugs']['products'], 'with_front' => false), // Permalinks format

    hope that helps.

    -m@

    Thread Starter projectfuturism

    (@projectfuturism)

    Fantastic! You are a genius!

    I assume the ‘with_front’ control defaulting to ‘true’ means that it displays the custom slug, and false switches this off.

    I think the developers of this plugin should give an option as to whether this is true or false in the settings.

    Such a great plugin, I really like it though – just this one minor annoyance.

    m@, thanks a bunch for mentioning that. As Mason mentioned in your other thread, we’ll get this passed on to the developers.

    @projectfuturism, sorry for the delay, but glad m@ had ya covered there!

    Hi so far this looks like the only plugin that does what I want which is using the new PayPal options such as chained payments.

    So I downloaded to see how it will work and look.

    I have a question and a suggestion

    I would like to be able add products into regular posts and/OR have products show up in the post loop instead of just on the roducts page.

    Is there a template tag that I can use to insert products into the post loop? Such as get_marketperss_product($product id)? With the option to include the buy button and other product details, so they can be shown in excerpt lists etc.?

    Thanks

    Hi so far this looks like the only plugin that does what I want which is using the new PayPal options such as chained payments.

    So I downloaded to see how it will work and look.

    I have a question and a suggestion

    I would like to be able add products into regular posts and/OR have products show up in the post loop instead of just on the roducts page.

    Is there a template tag that I can use to insert products into the post loop? Such as get_marketperss_product($product id)? With the option to include the buy button and other product details, so they can be shown in excerpt lists etc.?

    Thanks

    Ok so I got the loop working. All this time I thought the post type was products But it’s product. The menu name in the admin area threw me off. It says products.

    Thread Starter projectfuturism

    (@projectfuturism)

    Why don’t you try using one of the shortcodes, and then altering the code it injects? This would be a much more flexible answer wouldn’t it?

    The shortcodes should work too, but for more customization options, there are template tags included and detailed in marketpress-includes/template-functions.php within the MarketPress folder.

    Of course, you could always use do_shortcode() but the template functions are a more efficient method.

    Shortcodes would work, BUT this will be a members website, and I want to keep it as simple as possible. Members add product, info, picture, price, DONE!

    But I figured it out now and found the template tags.

    Thanks.

    I have anothe question.

    I’m selling digital products with various licenses.

    It is the same product in other words.

    License A costs $10

    License B costs $30 etc.

    I really like the way products are created with your plugin but unfortunately there isn’t support for digital product variations.

    So I’m trying to figure out how I can get this done in the same post?

    I would have to use two different shopping carts is all I can think of so far.

    Anyone have any other suggestions or ideas?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: WordPress eCommerce – MarketPress] Products Permalink Issue.’ is closed to new replies.