• Resolved jamiee89

    (@jamiee89)


    I have been trying to optimise my wp_options for the autoloaded setting.

    I have noticed 106 entries all starting with “stm_ccb_form_settings_” and then a 4 digit code (which im asuming is the calculator ID) I dont have any of these other calculators in my set-up nor have I ever created them.

    Am I safe to remove them? where did they come from?

    Thanks

    Jamie

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Lisa StylemixThemes

    (@lisastylemixthemes)

    Hi there,

    Thank you for reaching out.

    The entries you’re seeing with “stm_ccb_form_settings_” followed by a 4-digit code are related to calculators imported during the setup process. These are part of the template, and removing them is not recommended. The import of all calculators during installation is the fastest method, and it ensures that the ‘use_template’ functionality works efficiently by duplicating from the saved calculator.

    If you were to remove these entries, it would either require a very slow and non-constant import process or involve creating a separate service outside of WordPress to download the template on request. This could be time-consuming as it would involve handling a large amount of data.

    Keeping the entries ensures that everything functions as intended and provides a smoother experience. If you have any more questions or need further assistance, feel free to ask!

    Best regards,

    Lisa

    Thread Starter jamiee89

    (@jamiee89)

    Hi Lisa,

    suppose I don’t need the templates, and I already have the 1 calculator that I need. Would it be an issue for me to remove them, If i’m never going to use the templates feature?

    Thanks

    Jamie

    Thread Starter jamiee89

    (@jamiee89)

    They all seem to be set to auto load. this seems to be an issue, could it be change to not auto load?

    Plugin Support mgordonStylemixThemes

    (@mgordon7)

    The plugin doesn’t include option to remove those loading from the plugin settings,

    Such change can be done by customizing the plugin default scripts

    Best regards

    Jamie, did you end up disabling the auto-load? I’m having the same exact problem and I think what the developer meant is that the template install can be skipped by customizing the default scripts, AND that you can remove them from auto-load without any negative implications (because it’s simply sloppy coding on their part). What did you end up doing here? I’m at the same crossroads right now. Approx 100 entries = approx 450 kilobytes

    Thread Starter jamiee89

    (@jamiee89)

    Hi earth human,

    in the end i just deleted the lines from wp_options as I didnt need them as i had no need for the templates. I agree its sloppy as they dont need to be autoloaded. Make sure you check the calculator id number so you dont remove the wrong ones!

    Thread Starter jamiee89

    (@jamiee89)

    @ the devs

    “The plugin doesn’t include option to remove those loading from the plugin settings,

    Such change can be done by customizing the plugin default scripts”

    Is this not somting that can be done by you in an update? I dont see why all the templates need to be autoloaded on everything all the time. There are a signifcant amount of templates the are autoloaded that really dont need to be.

    Thanks

    Jamie

    Plugin Support James StylemixThemes

    (@jamesstylemixthemes)

    Hello @jamiee89,

    Thank you for your message, and you’re absolutely right! The records in the WP Options do have “auto-load.” I’ve already informed our development team about this, and they will be adding it to our roadmap for a fix.

    Please keep an eye on our changelog for updates. As soon as we release a new update, we’ll include all the details about the fix here: Cost Calculator Builder Changelog.

    Thanks again for bringing this to our attention, and feel free to reach out if you need anything else!

    Best regards,

    James Collin
    Stylemix Support Team

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.