NSPT
Forum Replies Created
-
Hello,
🙂 I’ve only created one popup at this moment, but I feel like giving the possibility to use custom builders, like it is today, offers quiet a good potential to it.
And the triggering mechanism is working efficiently.Cheers,
The point is not to delete my account… It contains informations about my purchases, and I might be buying other licences in the future.
The point is that I don’t want to rely on you or Stripe to protect my banking informations.
It is already possible to “update” informations through our profile, so deleting them should definitely not be impossible to do.
I hope you would be honnest and understand my point of view. Sorry if the whole banking industry is still as terrible as IT Security in 2020.
I also wish you a good day,
Hello,
I am using the DIVI theme,
Also, I had to deactivate caching on this page, because it seams that the javascript related to uploading images fails to load when page is cached, resulting in an “UNDEFINED” Error while uploading, and a always disable submit button.
Moreover,
while uploading the Gallery, submit button is activable and can cancel the upload.
Is it possible de still disable the submit button while uploading the gallery ?
Thanks,
Forum: Plugins
In reply to: [WooCommerce] Checkout through REST API and permissionsMy questions are:
1. is it normal that I receiving 403-forbiden when trying to get the product’s catalog with “Customer” READ privilege ?
2. is it possible to make anonymous purchases with “Customer” READ/WRITE privilege ?
Regards,
Forum: Plugins
In reply to: [WooCommerce] Checkout through REST API and permissionsHello,
Thanks for your reply,It is not really my code, I’m using PostMan to connect to the REST API.
To do so, I’ve created a WOOCOMMERCEAPI user and a pair key to log into the REST API.if this user is “Customer”, the REST API returns 403 Forbidden. If I set it to “Shop Manager”, I’m then able to get Products for the REST API.
So if I want to be able to also pass orders, I have to enable read/write on those keys. But I don’t want to do it on a “Shop Manager” pair key.Thanks,
I’m good, I added the function under to woocommerce_update_product.
The Action is trigger when “$model->save()” is called, so you should definitely not add it to the method, or it will end in an infinite loop. I have no warranty about doing it that way, but it works.
//get attached media by image and product Id, and set gallery with id array. add_action( 'woocommerce_update_product', 'woocommerce_update_mannequin_field', 10, 1); function woocommerce_update_mannequin_field( $product_id ) { $product = new WC_Product_Simple( $product_id ); $photos_ids = []; $photos = get_attached_media( 'image', $product_id ); foreach($photos as $photo){ $photos_ids[]=$photo->ID; } $product->set_gallery_image_ids($photos_ids); }- This reply was modified 6 years, 8 months ago by NSPT.
Forum: Plugins
In reply to: [WooCommerce] programmatically updating product’s attributesHello,
I’ll just give up… I’m tiered of working on that.
mikejolley tells on github that ‘Using wp_ajax hooks is not ideal.’ https://github.com/woocommerce/woocommerce/issues/16934
The exemple use neither the “_product_attributes” variable, or the “WC_product->set_attributes()” methode. And I don’t understand why.
Even if I update “_product_attributes” variable, it is not a unique field and will only result on an other stack impossible to get.What I don’t understand is what blocking me from setting the attributes with the dedicated methode of the class… I can do anything else like setting tags and categories, but set_attributes always result in nothing.
Thanks,
Hello,
Thanks for your quick reply,
The pictures are well uploaded on the server, but not attached to the post/product
My thing is: user can create Product by filling a form containing all the informations required, also Primary photo upload and a photo gallery upload. Once done, the form is save has draft in woocommerce. The primary photo is well saved and attached to the product, but for the gallery photos, they are not attached to the draft.
is it possible to do so ?
Regards,
Hello,
How to automatically attach those images to the post through your form, please ?
Regards,
Forum: Reviews
In reply to: [QuadMenu - Divi Mega Menu] Cool, Works as expectedYeah, sorry,
what I mean is, if i made it right: whereas the default woocommerce/divi icon is already present in the navigation bar, the user have to go to the Menu section and explicitly add the quadmenu cart icon to the menu. Which I didn’t understood in the first place. So I spend 30 minutes wondering why enabling the default theme for primary bar had no effect and that nothing appeared in the source code in the first place.
Thanks you for your quick reply.
Regards,- This reply was modified 6 years, 10 months ago by NSPT.
Just saw the other 1 star comment, pretty the same.
I don’t believe it to be our mistake to have misunderstood how the plugin was suppose to work.
Plugins should only works through the [shortcodes] that we are putting on our website, and only on the formular where we decided to put the [shortcode]. Your plugin seams to work the opposite way of the WordPress Philosophy, and it is not obvious without a big warning sign.
Sorry, 1 star, I have now to refund 2 weeks of advertisement to my client, and I don’t believe it to be my fault.