copperdesk
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Add Multiple Products in single click.Can you please tell me one last thing? Which part of the code is creating the text “add-upsells-to-cart”? Can I change it if I change all instances of “add-upsells-to-cart” from function.php?
Forum: Plugins
In reply to: [WooCommerce] Add Multiple Products in single click.Thank you Sir. Thank you very much. You have shown be new ways. I’ve learned a lot. I’ll update this thread if I come across something more on this.
Forum: Plugins
In reply to: [WooCommerce] Add Multiple Products in single click.Oh! My mistake. ? mark missing in my URL. Extremely sorry.
Yes! It is working and adding all the upsell product. But it is still not adding the main product clicking mysite.com/?add-upsells-to-cart=82
Forum: Plugins
In reply to: [WooCommerce] Add Multiple Products in single click.Hello Mike,
Wow! I can not thank you enough for your help. You wrote the whole code for this? Thank you Sir.
I’m very sad to say that it is not working. Maybe I’m doing something wrong. I think you might be irritated by now. But I’m learning.
I’ve copied raw code from github and pasted in my theme’s functions.php as you instructed. I’ve two products. IDs are 82 and 90. Suppose 82 is the main product. I made 90 as a upsell under 82. Added the link mysite.com/add-upsells-to-cart=82 (404 Error) but neither of the link is adding both the products.
Sir do you have time to help me more on this? I’m already highly obliged.
Thank you.
Raja.Forum: Plugins
In reply to: [WooCommerce] Add Multiple Products in single click.Dear Mike Jolley,
You are being very helpful Sir. Thank you for sharing the link. Yes I’ve checked the plugin before posting the question. I’ve googled, tried stackoverflow and stackexpert, woocommerce support forum etc.
If you have few minutes then please check the link. I’m working on this demo site. https://goo.gl/bQQ8jN
You’ll see that I’ve successfully added “buy now” buttons to available products.
Now I need a “add all” button at the bottom. I’ve checked https://docs.woothemes.com/wc-apidocs/class-WC_Cart.html for
WC()->cart->add_to_cart()
as you suggested. But could not understand how to implement ‘foreach’Can you please please please send me example code?
Thank you very much in advance.
Forum: Plugins
In reply to: [WooCommerce] Add Multiple Products in single click.Thank you for your reply @mike. Totally gone over my head though. Rookie this side. ??
Going to wordpress.net
Cheers!
Thank you Phil for you reply. I’ll try now the jQuery part. ??
Forum: Fixing WordPress
In reply to: Widgets – Cannot Drag and Dropare you using “widget logic visual” plugin? If yes then disable it.
Forum: Fixing WordPress
In reply to: HTML Coming Soon Page WordPressRename your coming soon page as index.html and upload it to your wordpress root. That’s it. Delete this index.html when job done.
Forum: Plugins
In reply to: [Widget Logic Visual] Widget Logic Visual not working with 3.5Thank you very much iwdspiderwoman. Worked perfectly for me.
Forum: Plugins
In reply to: [Plugin: NextGen Gallery] – Lightbox Images showing twiceThank you Nick! I’ll surely try this. Let’s hope for the best.
Kindest Regards.
Raja.
Forum: Plugins
In reply to: [Plugin: NextGen Gallery] – Lightbox Images showing twiceHello Nick McBurney,
I’m having the same problem as you. Can you please post the edited code? It will be very helpful.
Thank you in advance.
Forum: Fixing WordPress
In reply to: Cannot modify header information – headers already sentI was facing the same problem. I just deleted present theme through ftp. It started working perfectly after that.
Forum: Networking WordPress
In reply to: Default InstallationThank you Andrea for your reply. I am sorry for posting it in wrong section though.
I am checking your suggested links now.
Thank you again for your help.