• Resolved anonjhsgs

    (@richtercaterers001)


    I wanted to express my appreciation for developing the plugin.

    I have a question regarding its functionality:

    Previously, I utilized the Flexible plugin from octolize.com. However, I am now looking to transition to your plugin and I’m wondering if it’s possible to replicate a feature we had with the previous plugin.

    In our previous setup, if a customer was located in Florida, we applied a $90 fee for every 6lbs. The octolize plugin offered an option to include a “Method Description,” as shown in the screenshot: https://ibb.co/r4119MS.

    This “Method Description” was crucial because it allowed users to understand how the $90 fee was calculated. By clicking on the “How we calculate” link, a popup would appear, providing detailed information, as depicted in the screenshot: https://ibb.co/23sCKFs.

    Essentially, I’m inquiring whether there’s a way to incorporate the below HTML <a> tag under specific “Shipping Rules” so that it will display on the frontend only if the user matches the corresponding shipping rule:

    <a href=”#shipping_calculation_popup” class=”howWeCalculateLink”>How we calculate?</a>

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter anonjhsgs

    (@richtercaterers001)

    I’ve temporarily included the jQuery script in my site html, but I would prefer to directly implement it in the shipping method if feasible.

    Preview of the Script Documentation:

    https://docs.google.com/document/d/1zUUcNoY4h7EeuUWOMx4cNcbSRJhmJxc0F2G_WO9SinA/edit?usp=sharing

    Plugin Author Dan

    (@dangoodman)

    Thank you for sharing your solution.

    Here is another one. It is a small plugin that extracts a delivery option description from its title defined in the specific format:

    View post on imgur.com

    Thread Starter anonjhsgs

    (@richtercaterers001)

    I’ve installed the recommended plugin.

    Where should I input the description to ensure it appears as depicted in the provided screenshot above?

    Should I use the “Label” field under “Rule” settings? (It doesn’t seem to appear on the frontend.) Screenshot: https://ibb.co/bdYPvfp

    Plugin Author Dan

    (@dangoodman)

    You provide it in the delivery option Title within square brackets.

    Thread Starter anonjhsgs

    (@richtercaterers001)

    Perfect – thank you for your help.

    Thread Starter anonjhsgs

    (@richtercaterers001)

    Hello Again,

    I hope this message finds you well.

    I wanted to bring to your attention a couple of minor issues with the plugin code:

    a) The Shipping title in our “new” order email notifications and PDF invoices is currently displaying bracketed items ([…]) that were originally included to enable the popup functionality for <a> tags. I’ve attached a screenshot for clarity, marked with a red arrow:

    Screenshot is marked with a red arrow:

    $450.00 via Fee[How
    we calculate?]

    Screenshot: https://ibb.co/Pjy0Pwd, https://ibb.co/Yhr8YDk

    b) Additionally, we’ve noticed that the text from our email footer, “Thank you for shopping with us,” is being duplicated and appearing in the middle of the order line item table. Here’s a screenshot illustrating this issue:

    Screenshot: https://ibb.co/nCn3KDW

    Wondering if there’s a way to adjust the plugin’s PHP code so that the title label text inside the [brackets] is excluded from both email notifications, PDF invoice, and doesn’t affect the email footer text position.

    Plugin Author Dan

    (@dangoodman)

    Hello,

    Indeed, the bracketed part is included in emails and invoices. I have updated the add-on to move it from the title to the metadata.

    Thread Starter anonjhsgs

    (@richtercaterers001)

    Thank you for the updated code.

    Minor issue; “How we calculate?” is added as a text field without including the ID for the element that would trigger the popup.

    My Title:

    Fee[<a href="#shipping_calculation_popup" class="howWeCalculateLink">How we calculate?</a>]

    Screenshot: https://ibb.co/yqbT9FT

    To capture the same display shown in the screenshot:

    Staging Website: staging2.richtercaterers.com/shop

    Shipping State: Florida

    Shipping City: Orlando

    Shipping Zip: 32789

    Thread Starter anonjhsgs

    (@richtercaterers001)

    Basically the html tags, ID, class info is being stripped.

    Plugin Author Dan

    (@dangoodman)

    Fixed. Please check the updated version.

    Thread Starter anonjhsgs

    (@richtercaterers001)

    Thank you Dan for all your help.

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