webarkitekterne
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Google pay and an empty cartI will try this once I have a working staging site.
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Google pay and an empty cartTheme is Storefront (haven’t changed the theme). All woo related plugins were disabled. The problem persist.
To me, it seems like a problem with product variations, because there’s no problem on a product with no variations.
I’ve disabled the g&a pay options for now. Best solution would be for you to develop an option that lets admins decide on which pages the g&a payment option should be shown on: Product pages, the Check out pages or both. Personally I would only show it on the checkout page.
I’m going to create a staging/dev site with a full copy of the live site, to see if I can find/debug where the problem is.
Forum: Plugins
In reply to: [WooCommerce] Google pay and an empty cartWill do and thanks.
Forum: Plugins
In reply to: [WooCommerce] Image size with Storefront themeHi Stef, thanks for replying.
I’ve already tried what you suggest (and just tested and regenerated all images again), with no effect. It just keep showing a 324x324px image (uploaded 1024x1024px).
I’m doing the custom development. I don’t need another to do the development. I’m asking for help to do the custom development (just like any other custom developer might do) without wasting time reverse engineering your plugin.
Can I create a dropdown in a function, grap the form ID insert the dropdown as HTML (perpaps as a shortcode) and let the dropdown-data be submitted together with the rest of the form? If so, where do I find the form ID (the generic ID so the function can be used on multiple forms)?
- This reply was modified 4 years, 9 months ago by webarkitekterne.
Check the logs of the SMTP server (the mail server sending the emails out). There you should be able to see if there is any problems sending the mails.
Sound most likely as problem with the SMTP server settings. Double check settings or contact your host provider.
In a form, under Settings, check “Enable AJAX form submission”. Remember to save. Problem should now go away.
I have refined the code a bit, and now get the associated product name from the order-id as well. I still need to find a way to get this into a wpForms dropdown.
Anyone?
// Register wpForms SmartTag function wpf_dev_register_smarttag( $tags ) { $tags['woo_orderid'] = 'WooOrderID'; return $tags; } add_filter( 'wpforms_smart_tags', 'wpf_dev_register_smarttag' ); //Use UserID to pull users Woocommerce order data function wpf_dev_process_smarttag( $content, $tag ) { $userID = get_current_user_id(); if( $userID > 0 ) { $orders= wc_get_orders(array( 'customer_id' => $userID, //get_current_user_id(), 'return' => 'ids', )); foreach ($orders as $oids) { $order = wc_get_order( $oids ); $items = $order->get_items(); foreach ( $items as $item ) { $product = wc_get_product( $item['product_id'] ); $productname = $product->get_name(); // echo('<br> Product name: '); // print_r($productname . ' (Order ID: ' . $oids . ')'); } } $content = str_replace( '{woo_orderid}', $productname . ' (Ordre ID: ' . $oids . ')', $content ); return $content; } else { return; } } add_filter( 'wpforms_smart_tag_process', 'wpf_dev_process_smarttag', 10, 2 ); // End wpf_dev_register_smarttag function
Nevermind – I created my own code.
Forum: Fixing WordPress
In reply to: New user reg, create one new post, allow user to edit that postThanks!
Forum: Plugins
In reply to: [WooCommerce] Selling products/services in person setting?Good question, I’ll also like to know this. And can you add this later, if you don’t tick it in the startup wizard?
Forum: Plugins
In reply to: [SMNTCS Quantity Increment Buttons for WooCommerce] Count up/down not workingThank you Niels, it works again.