• Resolved nztrinkets001

    (@nztrinkets001)


    Hello,

    I’ve read the 8390302-excluded-resources guide and I’m not sure what I should enter in the “Asset URL/Code” field.

    I would like to display a notice to customers which estimates the shipping dates and I need to exclude this code from being optimized.

    Class=”woocommerce-info”

    Function name is “function ts_dispatch_info_single_product() {…….”

    Could you please help me with the “Asset URL/Code” required to exclude the woocommerce-info notice from optimization?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support phristanov

    (@phristanov)

    Hey @nztrinkets001 ,

    Thanks for your message! Hope you are well.

    The “Asset URL/Code” field is where you enter the name of the file or a unique identifier from the script that you wish to exclude from optimization. If the function is added inline to the website, you can extract a distinctive word or phrase from the script and use it here to prevent it from being optimized.

    If the function is part of a specific file rather than inline, you can simply enter the name of that file in the “Asset URL/Code” field to exclude it from optimization.

    In your case, you can add “*ts_dispatch_info_single_product*” to the field, which I assume is a unique identifier for this function. The asterisks ensure that everything before and after this specific name is excluded.

    Please let us know if this helps. Also, keep in mind that you can always reach out to our Support teams at [email protected] or via the chat widget within the platform.

    Best,
    Plamen, Head of Support at NitroPack

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