Forum Replies Created

Viewing 10 posts - 31 through 40 (of 75 total)
  • Author
    Posts
  • in reply to: Getting the Price to appear in text box #30016

    Hi Kathy / Harry,

    Many Thanks for your support and help. I trust Harry can have a look at your suggestions and see what can be done.
    Kind Regards,
    Rizwan

    in reply to: Getting the Price to appear in text box #29990

    Hi Harry,

    Been in contact with plugin developer and their reply is below;

    ===================================================================================

    Rizwan,

    To reiterate my last message, to achieve compatibility you need to 1. Load the script and 2. Initialize the script when the pop up is loaded.

    I saw the script they wrote and it’s a step in the right direction. But the name your price input is not in the DOM on page load since it’s in the pop-up and so that script will not work. Look again at the script integration with Quickview… Specifically at the .on() part.

    Quickview has a custom event that fires when a pop-up is loaded. Your theme will need the same. And then you can listen for the custom event and fire the NYP scripts when the chain event is triggered.

    The theme may also want to take a look at how quickview provides a hook wc_quick_view_enqueue_scripts specifically for enquing scripts wherever their popups are displayed.

    Please don’t need to copy the NYP script into your theme. There’s no need and you’ll get locked into an old version when NYP updates. The script is registered the WordPress way and so can be enqueued by it’s handle. Even better this will load all styles, scripts, and JavaScript variables.

    WC_Name_Your_Price()->display->nyp_scripts();

    Should be able to use it like this. Apologies for formatting, I’m away from my keyboard:

    function kia_load_nyp()
    if( function_exists( ‘WC_Name_Your_Price’ ) ){
    WC_Name_Your_Price()->display->nyp_scripts();
    }
    add_action( ‘wp_enqueue_scripts’, ‘kia_load_nyp’, 30 );

    I hope that helps, but it really depends on whether your theme has the needed custom events.

    Cheers,
    Kathy

    Kathy
    Lead Developer
    kathyisawesome.com

    ================================================================================

    I hope , trust we can solve this issue and get it working.
    Appreciate your help in this matter.

    Kind Regards,
    Rizwan

     

    in reply to: Check Out Form Layout #29987

    Hi Harry,

    Many Thanks for  the update it works very well nd I can see it also updates right hand side form automatically.
    Many Thanks
    Kind Regards,
    Rizwan

    in reply to: Check Out Form Layout #29959

    Hi Harry,

    I also noticed that when GAD or May we contact you by ? is selected before it would auto refreash and show the changes on the right hand side, however this does not happen now.

    I hope you can look at this also.
    Many Thanks
    Rizwan

    in reply to: Check Out Form Layout #29958

    Hi Harry,

    I updated the plugin – woocommerce-checkout-add-ons however I am have some issues:

    1. On Checkout page:

    May we contact you by ? email
    post
    phone
    sms

    After the ? Their should be a break space. I can see you helped me with this before

    Hi, I help you fixed the issue and correct code is

    .woocommerce form #wc_checkout_add_ons .form-row label {display: inline-block;}
    .woocommerce form #wc_checkout_add_ons .form-row#wc_checkout_add_ons_4_field label:first-child {display: block;}

    Kind regards

    However since the field attributes / names look like have changed, it is not creating the break space.

    I hope you can help.
    Many Thanks.

    Rizwan

    in reply to: Getting the Price to appear in text box #29956

    Hi Harry,

    Thank you and will ask plugin developer.
    Many Thanks and lets see what is said and will get back to you.

    Thanks,
    Rizwan

    in reply to: Getting the Price to appear in text box #29953

    Hi,

    I editied the line to:
    wp_enqueue_script( ‘jas-claue-custom-script’, get_template_directory_uri() . ‘-child/name-your-price.js’ );

    Now when I view source it it showing the correct URL to:

    https://ipac.store/wp-content/themes/claue-child/name-your-price.js?ver=5.1.1

    However still not filling the amount in text box.
    Hope you can help.

    Rizwan

    in reply to: Getting the Price to appear in text box #29952

    Hi Harry,

    Thanks I have done that and viewing souse now gives the link to:
    https://ipac.store/wp-content/themes/claue/name-your-price.js?ver=5.1.1

    However the Donation Amount (£) is still blank.
    I hope we can get a solution to this.

    Many Thanks
    Rizwan

    in reply to: Getting the Price to appear in text box #29948

    Hi Harry,

    No I did not change anything. I thought it might have been some updates you might have done, while you where working on the issues above.

    I entered login detailed and got the following error massages;

    I hope you can help.
    If I change the path via ftp from
    /wp-content/plugins/
    and rename the plugins folder, I still get the blank screen on wp-admin page.

    I hope you can help.
    Kind Regards,
    Rizwan

    in reply to: Getting the Price to appear in text box #29945

    Hi Harry,

    Hi Kathy,

    Wanted to login:
    https://ipac.store/wp-admin/

    However I can seeing a blank page.

    Just wanted to know if you were working on anything on site?
    I hope you can help, it was ok last time I checked yesterday.
    Many Thanks,
    Rizwan

Viewing 10 posts - 31 through 40 (of 75 total)