• Plugin Support jaysupport

    (@jaysupport)


    Hi everyone!

    We’ve just released version 5.0.0 of the plugin! It includes huge improvements to catalog performance, usability, design and layout, UI/UX, filtering, and so much more! For a full list, please see the changelog for the update.

    Please refer to his thread before posting a new topic about the 5.0.0 update.

    Given that the plugin code has been completely rewritten, you may find that certain things look or work differently than they used to. With that in mind:

    • Please take caution and test before updating on a live site, or wait a few days before updating in case some minor corrective updates need to be released.
    • Please double check after updating to see if the plugin was automatically re-activated. If not, you just need to manually click the Activate button.
    • The class names/IDs/selectors have been standardized across the whole plugin. This was necessary and long overdue. However, as a consequence, it is quite likely that, if you are using custom CSS, some or many of the selectors will have been updated. If you find some of your custom CSS no longer working, please just provide us with your existing custom CSS and we will provide you with updated CSS to do the same.

    Beyond this, if you encounter any specific issues, please make sure to let us know and we will look into it.

    Thank you!!

    • This topic was modified 3 years, 4 months ago by jaysupport.
Viewing 15 replies - 1 through 15 (of 23 total)
  • This upgrade seems to have crashed my site. Here’s how the past few hours have gone:

    1) Uptime.com gave me a warning that the site is down. Site gives a 500 error and there is an error in Apache2’s error.log that says there’s a syntax error in Settings.class.php at line 106.

    2) I fixed this error, and several similar ones in Settings.class.php and BackwardsCompatibility.class.php. Site still 500s. Error is now “Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function add_cap() on null in /var/www/wordpress/wp-content/plugins/ultimate-product-catalogue/ultimate-product-catalogue.php:368…”

    3) I give up and install PHP7.4 which doesn’t have the syntax errors in Settings.class.php and BackwardsCompatibility.class.php. I revert my changes to those files. Still, I get the error about “add_cap()”.

    4) I give up and install PHP8.0. Same issue, though I get a squawk from WordPress that it doesn’t like PHP8

    5) Back to PHP7.4 and I’ve moved the plugin folder /wp-content/plugins/ultimate-product-catalogue out of the plugins folder and the site no longer 500s

    Unfortunately, UPC is a fairly integral part of the site, so while it works, it is missing vital content.

    Plugin Support jaysupport

    (@jaysupport)

    For the moment, we recommend not updating, while we work out a few issues that seem to be affecting several installs.

    If you have already updated, or do update prior to reading this message, then here are some notes on the issues.

    1) Multiple duplicate products after updating: In some instances, after updating to 5.0.x, users are seeing some products in their catalog being automatically duplicated and displayed more than once. We believe this may be related to either the initial import process that converts the existing products into posts for the new product post type and/or to the WooCommerce sync functionality. We are in the process of investigating this to find that root cause, so we can include a fix in an update.

    2) Missing products after updating: In versions prior to 5.0.8, if you had products that had a NULL entry for a description (which could only happen if you imported products from spreadsheet and did not put anything in for the description), those products were not correctly converted to the post type. That has been rectified in 5.0.8. However, if after updating to 5.0.8, you still do not see those products, then you will need to force a new conversion of any lost products to the post type. To do this:

    – Delete any products that did get correctly added to the post type
    – Access your database (via phpMyAdmin)
    – In the wp_options table, delete the ewd-upcp-settings option
    – Navigate back to the Settings page in the plugin admin and save it

    3) Missing menu items in the plugin admin: This was corrected in 5.0.8.

    4) Duplicate entries on the WordPress Updates screen: This is only temporary, to make sure the plugin automatically re-activates, as the main plugin file name was (necessarily) changed.

    • This reply was modified 3 years, 4 months ago by jaysupport.

    My site has crashed due to your updates. I wish to have my data from your plugin back. But everytime I try to activate it, my site crashes. Please advice what to do.

    Plugin Support jaysupport

    (@jaysupport)

    Hi @logon1993,

    What version of the plugin are you on currently? Are you able to update to 5.0.8? That should take care of any issues with activation/crashing/errors that you were getting.

    After doing that, are you still missing products? If so, it may be related to the issue with existing products that were imported with no description, the one I mentioned in point #2 above.

    Missing products after updating: In versions prior to 5.0.8, if you had products that had a NULL entry for a description (which could only happen if you imported products from spreadsheet and did not put anything in for the description), those products were not correctly converted to the post type. That has been rectified in 5.0.8. However, if after updating to 5.0.8, you still do not see those products, then you will need to force a new conversion of any lost products to the post type. To do this:

    – Delete any products that did get correctly added to the post type
    – Access your database (via phpMyAdmin)
    – In the wp_options table, delete the ewd-upcp-settings option
    – Navigate back to the Settings page in the plugin admin and save it

    If you need any help with these steps, please let me know.

    • This reply was modified 3 years, 4 months ago by jaysupport.
    Plugin Support jaysupport

    (@jaysupport)

    Hi @jjwag,

    I apologize for the really hard time I know this update has caused you. I know it makes no difference to you at this point, but I hope it goes without saying that this is as far from what we expected or wanted as possible.

    Believe me, it was tested, to death. It was only just during the WP updating process itself that these further unforeseen errors crept in, which ultimate undid it. We worked as fast as possible to rectify those, and, as you mentioned in your review (thank you for still noting that even amidst all the trouble), for the most part, they have been resolved (the activation/crashing/error issues, not the couple issues with specific features).

    I appreciate you posting your experience and the steps you took here, for others to note. While you should be able to activate the new version now, if you are still using it, we would definitely appreciate an update on how it’s going.

    Thank you!

    Why HTML description doesn’t work in list view? Before update work good.

    Are we not allowed to hide products anymore? The “Product Displaying” control in the product edit page doesn’t seem to do anything, and that’s the closest thing to “hide this product” I can find. I know it used to be possible!

    Also the “edit product” link that used to appear when browsing the catalog while logged in as an administrator is now gone. This was super helpful.

    Plugin Support jaysupport

    (@jaysupport)

    Hi @krzxsiek and @jjwag

    Thank you for your posts. We’ve just released version 5.0.10, which includes a fix for the list view description being incorrectly escaped (the HTML you mentioned krzxsiek) and for the “Product Displaying” toggle not being correctly applied (you should now be able to correctly hide products using this setting). It also re-introduces the “Edit Product” link in the admin bar and the ability to drag and drop the items in your catalog to order them.

    Thank you for your help, it works now ??
    There is one more problem because in the thumbnail view the Detail Link (class=”prod-cat-details-link upcp-thumb-details-link”) button has disappeared and previously I remember it was there.
    Now it is only in detailed view.
    Can you do something about it?

    There is also no display “Sale Price”

    • This reply was modified 3 years, 4 months ago by krzxsiek.
    • This reply was modified 3 years, 4 months ago by krzxsiek.
    Plugin Support jaysupport

    (@jaysupport)

    Hi @krzxsiek,

    There was never a read more button in the thumbnail view, as there was never an option to display the description in the thumbnail view. It has always only applied to the detail/list view.

    What you might be thinking of is the “Details” button that used to be part of the thumbnail. This was indeed removed. It was quite an outdated and redundant feature, and not something you really see on shop/e-commerce sites any more. Clicking the thumbnail image or title of the product will already bring you to the product page, which makes the Details button unnecessary/redundant.

    For the sale price, you can set this by going to the edit screen for a product, turning on the toggle switch for “Sale Mode Enabled” and then entering a sale price. This will make the “Sale” flag show on the product thumbnail and also make it show the sale price there.

    Just make sure that, in Settings > Basic, you have set Sale Mode to All or Individual, and don’t have it set to None.

    • This reply was modified 3 years, 4 months ago by jaysupport.

    Yes, I meant the “Details” button. It was useful in my project, and in fact the client was satisfied with it.

    Weird, because the display of the price before the promotion worked previously, and now, although I have not changed anything, it is not displayed anymore. Although it is set. Sorry for my English.

    Plugin Support jaysupport

    (@jaysupport)

    Hi @krzxsiek,

    With regards to the “Details” button, with the way we’ve redesigned the plugin, and the templating system we’ve introduced, you can now create your own revised/custom templates for almost any of the different output areas in the plugin.

    All template files are found in the “ewd-upcp-templates” folder.

    For example, the template file that outputs the product thumbnail is “catalog-product-thumbnail.php”. To create your own new custom template for the catalog page output, all you need to do is:

    – Make/save a copy of that file
    – Open it up and make the changes that you would like. In your case, you can add a Details button. (I’ve created a mock-up of what that might look like, which you can see here: https://pastebin.com/sb3M2eKQ)
    – After making your changes/additions, save this file (with the same file name, so catalog-product-thumbnail.php)
    – Create a new folder in your child theme called “ewd-upcp-templates” and upload your new/revised template file to that folder

    Now the catalog on your site will make use of that template file instead. And, because you’ve added it to your child theme, it will not be overwritten if you do a plugin update.

    You may want to just make sure you also add some custom CSS, to style any new elements (e.g. the Details button) that you add to the template file.

    If you need any further help with this, please let me know.

    For the sale price, I understand that you didn’t change anything yourself. But, if possible, you’ll need to double check the things I mentioned, just to make sure they are indeed still set correctly.

    • This reply was modified 3 years, 4 months ago by jaysupport.

    OK thank you. I will test it, but I think I understand ??
    I have checked the “Sale Mode” settings and everything is correct but not display.

    • This reply was modified 3 years, 4 months ago by krzxsiek.

    Is there no longer any way to sort products in a category? There used to be a way (it was weird and unintuitive, but at least possible) but I can’t figure it out in the 5.x.x version.

    I’m unable to click on the breadcrumbs when using the “custom page – large screen” product page. I think one of the frustrating randomly-behaving blocks is covering the breadcrumbs, since they look to have proper A tags in the code.

    Is there a way to reset the custom pages to “factory”? I’ve probably screwed up the “custom page – large screen” layout so badly that it may be my fault that the breadcrumbs are covered up, but I can’t figure out how to get back to something that was working.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Version 5.0.0 – Refer here before posting’ is closed to new replies.