Thomas Shellberg
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Change location on Product Description and Short Description@thias79 – you can do this by unhooking the actions which generate each of the descriptions and rehook them with different priorities.
https://www.cloudways.com/blog/reorder-content-on-woocommerce-single-product-page/
Something like this could work, but you’ll need to tweak the priorities and possibly even the hooks you use.
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 ); add_action( 'woocommerce_after_single_product_summary', 'woocommerce_template_single_excerpt', 20 ); remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 ); add_action( 'woocommerce_single_product_summary', 'the_content', 20 );Forum: Plugins
In reply to: [WooCommerce] Eliminated sort dropdown-now says “showing the single result”@asmith99 – you need more than just what is pasted, try also the following:
add_action('init','delay_remove_result_count'); function delay_remove_result_count() { remove_action( 'woocommerce_after_shop_loop', 'woocommerce_result_count', 20 ); remove_action( 'woocommerce_before_shop_loop', 'woocommerce_result_count', 20 ); }Forum: Plugins
In reply to: [WooCommerce] Structured data incorrect errors@janneke8incosi – if you find a solution, please do post it here for longevity, in case someone else runs into this. 🙂
The popularity option goes by “total sales” so it doesn’t factor in the “acceleration” of sales or anything like that.
There is a filter named
posts_clauseswhich looks like it allows you to modify the second “orderby” parameter.To get an idea of how it’s used, take a look here:
@denniro – no, sorry, but you could perform some searches for alternatives to the Subscriptions plugin.
Forum: Plugins
In reply to: [WooCommerce] Custom Price@robustsofetch – this is pretty easy to do with Name Your Price:
https://woocommerce.com/products/name-your-price/
With that plugin, you can append a variable at the end of a URL which adds the item(by ID) to the cart along with a specific price.
Otherwise, I would take a look at this forum post for a starting point:
https://stackoverflow.com/questions/32361369/woocommerce-add-to-cart-with-custom-priceForum: Plugins
In reply to: [WooCommerce] shopping cart iconDo you mean on the single product pages? The icon is created using FontAwesome and CSS, which targets the
::afterpseudoelement. You can add a bit of CSS to change it:.single_add_to_cart_button::after { content: '\f15a' !important; }Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Translation to DanishI just tested this and it works fine for me:
http://cld.wthms.co/Os683r
http://cld.wthms.co/F0AEP4I placed the files at languages/plugins/woocommerce-gateway-stripe-en_US.po(my site is in English).
Test if it works with a default theme.
Forum: Plugins
In reply to: [WooCommerce PayPal Checkout Payment Gateway] Express Checkout redirectsHey @janiklipke – I’ve heard of this issue happening because of improper PayPal credentials – I highly recommend double-checking that your PayPal account is still linked properly to the plugin by reviewing your API credentials. You can also enable Debug Logging on the settings page, try checking out, then review your logs by going to WooCommerce->Status->Logs. There might be an error captured in the logs there.
@denniro – it looks like you’re using a third-party plugin for Subscriptions:
Subscriptions for WooCommerce: by markhf – 1.3.2 – Not tested with the active version of WooCommerce
I tested this with WooCommerce Subscriptions(the official Subscriptions plugin). I would check with the developer of the Subscriptions for WooCommerce plugin.
Forum: Plugins
In reply to: [WooCommerce] Change text in Woocommerce categoriesThere is a template file responsible for this, you can find it at /templates/loop/no-products-found.php.
Perhaps you could add a conditional statement there.
Forum: Plugins
In reply to: [WooCommerce] Change text in Woocommerce categories@mrpress01 – editing the files directly is exactly what would cause the changes to be overwritten when you update the plugin, thus, you shouldn’t ever edit a plugin directly.
When you generate a translation with Loco Translate, it will auto-detect the location where the translation file should go. Select the option that will place the translation file in the /languages/plugins/ folder to prevent your changes from being lost.
Forum: Plugins
In reply to: [WooCommerce] Order Status – On Hold Validation Error@quantum17 – I would create a ticket with WooCommerce.com support as they’ll likely need to dive further into this.
Forum: Plugins
In reply to: [WooCommerce] How do I get rid of the Apple Pay warningHey @cynderella – Are Payment Request Buttons enabled within your Stripe gateway settings page?
Go to WooCommerce->Payment->Credit Card(Stripe) and uncheck the Payment Request Buttons option.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce Erasing personal data@barryruss – The
Erase Personal Datafunction is built into WordPress, not WooCommerce. It’s explained in the Codex that accounts are not automatically deleted:When erasing user data, this tool does not automatically delete registered users and their profile data. Administrators should perform that step themselves after successfully erasing personal data for a registered user. User deletion is available for each user in the Users menu in the Dashboard.
https://codex.wordpress.org/User_Privacy_and_your_WordPress_site
You can delete the account manually after performing the erasure.