Personalized URL for non-logged in WordPress

If I understand your problem, this procedure should work for you: create a custom post type nameofplugin_offer use a form to get the offers from customers, save them as the above CPT (see wp_insert_post()) in your CPT archive template ( that would be archive-nameofplugin_offer.php, see Template Hierarchy), within the loop, list all the public details … Read more

Return custom product in ajax call loop

Yes, you can query products by their ids and display them as ajax response. You code just needs a little revision. Perhaps you could try something along these lines, public function display_search_result(){ $skus = urldecode($_POST[‘sku_universel’]); $skus = explode(‘,’,$sku); $product_ids = array(); // you can use native woocommerce function to get the product ids foreach($skus as … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)