• Resolved hsntgm

    (@hsntgm)


    Hi korkmaz,

    Thanks for great work but simply not working on my side. It means plugin is not getting/writing any data dynamically to generate complete contracts while ordering.

    I got this jQuery error on console, If helps. I’m sure not caused by any cache plugin.

    Plugin adds two custom field to checkout page. Why we need these optional fields?

    public function odeme_ekrani_custom_input_ekle($fields)
    {

    $fields[‘billing’][‘billing_satis_sozlesme’] = [
    ‘type’ => ‘textarea’,
    ‘label’ => $this->birinci_sozlesme_link_ismi,
    ‘class’ => [‘billing_satis_sozlesme’],
    ‘required’ => false,
    ‘clear’ => true,
    ‘priority’ => 120,
    ];
    $fields[‘billing’][‘billing_mesafeli_sozlesme’] = [
    ‘type’ => ‘textarea’,
    ‘label’ => $this->ikinci_sozlesme_link_ismi,
    ‘class’ => [‘billing_mesafeli_sozlesme’],
    ‘required’ => false,
    ‘clear’ => true,
    ‘priority’ => 121,
    ];`
    `
    Also I think plugin must replace woocommerce default “Terms and Conditions” checkbox and text part. It prints double time to order form.

    • This topic was modified 2 years, 1 month ago by hsntgm.
    • This topic was modified 2 years, 1 month ago by hsntgm.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author yemlihakorkmaz

    (@yemliha24)

    Hello. Can you share a screenshot of the error on the console?

    These fields are used to save the created contract to custom meta.

    If you send me an e-mail, I can take a private look at your site. Thank you.

    Thread Starter hsntgm

    (@hsntgm)

    I uploaded screenshot already — https://ibb.co/ncJrQCR

    Plugin Author yemlihakorkmaz

    (@yemliha24)

    Can you try turning off other plugins one by one?

    Thread Starter hsntgm

    (@hsntgm)

    Nope, I can’t do that in production. This is not effective way for me. There are 30+ plugins. I wonder that does plugin work with guest orders or working with just registered customer’s orders. For guests orders simply shortcodes not working. Agreement pages are generated with absolute shortcode values like [namesurname]
    Not sure which part is broken backend nopriv ajax calls or frontend page generation. But it seems front-end problem something like jquery conflict.

    Thread Starter hsntgm

    (@hsntgm)

    Korkmaz, I solved my issue. I have lots of custom checkout fields also some of them disabled that cause jquery errors with your plugin.

    One last question about send mail function according to order statuses. There are no such option on plugin settings so I checked your code and I saw,

    $allowed_statuses = array('new_order', 'customer_completed_order');

    new_order and customer_completed_order are not default wc order statuses. You mean processing and completed here.

    Thanks.

    Plugin Author yemlihakorkmaz

    (@yemliha24)

    Hello. The plugin has a new version. But your feedback is invaluable. It would be a good idea to create fields where the user can select payment fields. And when the contract goes to email it would be a good idea to add this as an option.

    Thank you for your feedback. I will continue to develop.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘not working on my side’ is closed to new replies.