• inceweb

    (@inceweb)


    We’re trying to create a quote facility for selected “built to order” products. One or more can be added to a quote request list and sent for quotation. These products can’t be bought in the normal way through the checkout. All other products are bought in the usual way and cannot be quoted.

    We’ve chosen “Normal checkout” for 1- Checkout Option.

    The page linked is for a product which is for quotation only. We can select variations and click “Add To Quote”. This appears to work “Product was successfully added to quote request”, but when we follow the link to “View List” we see “Your Quote Request List is Currently Empty.”

    What have we done wrong? Is the functionality we require possible in this version or do we need one of the paid plugins?

    Many thanks.

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Neah Plugins

    (@gplsaver)

    Can you turn off page caching (including page optimizer plugin) and test?

    Please check this post:

    How to make the NP Quote Plugin work with page caching plugins

    Thread Starter inceweb

    (@inceweb)

    Hi,

    Tried turning off all caching, Jetpack, CDN and object cache. Problem persists.

    Is there anything else we can try?

    Thank you.

    Thread Starter inceweb

    (@inceweb)

    Also updated plugin to 1.9.160 and tried using session cookies with the STYXKEY prefix, to no avail.

    Thread Starter inceweb

    (@inceweb)

    We are seeing a lot of ngnix errors like this even with session cookies configured:

    FastCGI sent in stderr: “PHP message: WordPress database error Table ‘wp-wy.hXRGj5j_npxyz2021_sessions’ doesn’t exist for query SELECT option_value FROM hXRGj5j_npxyz2021_sessions WHERE option_name = ‘_rfqtk_wp_session_fe23e6b5191f6c540c49ff50a3ab8329’ LIMIT 1 made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘plugins_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, RFQTK_wp_session_start, RFQTK_WP_Session::get_instance, RFQTK_WP_Session->__construct, RFQTK_WP_Session->read_data, RFQTK_WP_Session->np_get_session” while reading response header from upstream

    Plugin Author Neah Plugins

    (@gplsaver)

    Hi,

    I see there is a database error. For some reason a table used by the plugin is missing. ( deleted ? or not enough permissions to create). I have made an adjustment for this kink of situation in version 1.9.161.

    Please update to 1.9.161 and see if that resolves. You can also force it to create the table by deactivating and activating the plugins. Setting will not change.

    Thread Starter inceweb

    (@inceweb)

    Thank you for update.

    Deleted and re-installed the plugin as instructed. The table hXRGj5j_npxyz2021_sessions now exists and a new record is added each time we submit a quote request.

    However, the problem persists, quote list remains stubbornly empty.

    Plugin Author Neah Plugins

    (@gplsaver)

    I checked https://weavingyarn.co.uk/product/liisa-countermarch-floor-loom/

    caching is active. Can you check if caching is active at the control panel or give us a list of your plugins?

    Thread Starter inceweb

    (@inceweb)

    We’re using Clourdflare CDN to cache the site but have now added exceptions for the above product and the /quote-request/ page.

    Here are the server requests between the product “Add To Quote” click to the quote list page:

    2024-08-27 22:21:14 Access 172.69.194.134 200 POST /?wc-ajax=get_refreshed_fragments HTTP/1.0 https://weavingyarn.co.uk/product/toika-liisa-countermarch-floor-loom/ Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 15.3 K Apache SSL/TLS access
    2024-08-27 22:21:18 Access 162.158.42.75 200 GET /wp-content/plugins/woo-rfq-for-woocommerce/gpls_assets/js/gpls_woo_rfq.js?ver=15840 HTTP/1.0
    2024-08-27 22:21:17 Access 172.69.194.134 200 GET /quote-request/ HTTP/1.0 https://weavingyarn.co.uk/product/toika-liisa-countermarch-floor-loom/ Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 47.7 K Apache SSL/TLS access
    2024-08-27 22:21:19 Access 172.71.151.46 200 GET /wp-content/plugins/woo-rfq-for-woocommerce/gpls_assets/js/rfq_dummy.js?ver=67595 HTTP/1.0
    2024-08-27 22:21:20 Access 172.70.160.235 200 GET /wp-content/plugins/woo-rfq-for-woocommerce/gpls_assets/js/rfq_dummy.js?ver=49760 HTTP/1.0 https://weavingyarn.co.uk/quote-request/ Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 812 Apache SSL/TLS access
    2024-08-27 22:21:20 Access 172.70.163.60 200 GET /wp-content/plugins/woo-rfq-for-woocommerce/gpls_assets/js/gpls_woo_rfq.js?ver=1913 HTTP/1.0 https://weavingyarn.co.uk/quote-request/ Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 839 Apache SSL/TLS access
    2024-08-27 22:21:20 Access 141.101.99.17 200 GET /wp-content/plugins/woo-rfq-for-woocommerce/gpls_assets/js/gpls_wh.js?ver=38061 HTTP/1.0

    Plugin Author Neah Plugins

    (@gplsaver)

    I believe add to cart is working. The problem is with cookie cached. If you look at the post below, you can see all that needs to be excluded, including the cookie beginning with rfqtk_wp_session_

    How to make the NP Quote Plugin work with page caching plugins

    I can tell that cookies are cached , since it is adding a record for each add to cart. It should only be one record. See if you can find the option not to cache cookies. I believe that would solve the issue.

    Thread Starter inceweb

    (@inceweb)

    We’ve tried a number of things.

    (1) We switched from PHP sessions to cookies. Made no difference.
    (2) We added no-cache rules to Super Cache and the CDN to stop caching of the product and quote list pages, and the cookie rfqtk_wp_session_*
    The cookie is set, so for example cookie rfqtk_wp_session_6bc1af258475ec126d1be66e6bee873a has the value 3386d53452f5c247c04721eec3def137||1727434179||1727542179

    (3) The Quotes list was still empty so we turned off ALL caching and the CDN.

    (4) That didn’t make any difference so we disabled all but the WOOCOMMERCE and WOO RFQ FOR WOOCOMMERCE plugins and tried again. Still, the Quotes list is empty.

    Is there anything else we can try?

    • This reply was modified 2 months, 4 weeks ago by inceweb.
    Plugin Author Neah Plugins

    (@gplsaver)

    Can you contact us at?[email protected]?for support regarding this?

    Plugin Author Neah Plugins

    (@gplsaver)

    As a test, what happens if you disable all caching everywhere ?

    Thread Starter inceweb

    (@inceweb)

    As a?test, what happens if you disable all caching everywhere ?

    We did this is step 3 of the previous response. All caches disabled, CDN switched off, browser cache flushed, cookies cleared. Made no difference.

    Thread Starter inceweb

    (@inceweb)

    Can you contact us at?[email protected]?for support regarding this?

    Will do, but we want to create a test environment first.

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