So I am upgrading a site that was built in MarketPress 2 to the latest version and I have found many issues. The biggest two are broken uris and depreciated methods.
The current site links to product categories with the following structure:
These just go to 404 pages now. I'd like to keep them the same, but if there is a new default, I'll use it. I just want it to work.
The other issue is the cart page uses a call to
get_cart_contents() I've seen a few posts that mention this method in the forum, but the answers are not helpful to me. One says to contact the theme developer (that's me) and the other says to edit the plugin file (not going to do that). So what is the current method to use to get the contents of the cart.
I would have looked at the supplied themes to see how they are now being built in 3, but every reference to the default themes is outdated, and they no longer seem to be included with the plugin. In /marketpress/ui/themes/Theming_MarketPress.txt (and the blog on the site with the same name dated October 2016) makes reference to the /marketpress/marketpress-includes/ directory which is not there.
I am working on my local machine as the current site is live and updating the plugin there would have brought the store down, so I won't be able to provide live links. I can post code or perhaps setup a github repo if that would help. I am not using a pre-made theme, I am using one that I created.