lorro
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Display price with vat below price without vatThe font size is too small for users with poor eyesight as it is. And the colour contrast, orange on white, is not great. But if you must:
.price small { font-size: 8px; }
Forum: Plugins
In reply to: [WooCommerce] Display price with vat below price without vat/* ex VAT price */ .product .woocommerce-Price-amount:first-child { font-size: 16px !important; } /* deleted price */ .product del .woocommerce-Price-amount:first-child { font-size: 12px !important; }
If it doesn’t work, please take out all the new styles affecting price so I can start from new.
Forum: Plugins
In reply to: [WooCommerce] Product Attribute Type of ‘Select’ Appears As Type of ‘Button’Vanilla WooCommerce does not have a Type selector on the edit attribute screen. The Type selector must be coming from one of your plugins. Try deactivating all plugins except WooCommerce and check. Try to identify which plugin its coming from.
Forum: Plugins
In reply to: [WooCommerce] Problem with Variation ProductDo you have the “Video Downloader PLUS” Chrome extension? Temporarily deactivate it at Chrome > Extensions > Manage Extensions
and re-test.I expect that will remove one of the Javascript issues, though it may not be enough to resolve your problem.
Forum: Plugins
In reply to: [WooCommerce] Display price with vat below price without vat/* inc VAT price */ .product .woocommerce-Price-amount { font-size: 10px !important; } /* +VAT price */ .product ins .woocommerce-Price-amount { font-size: 16px !important; }
Forum: Plugins
In reply to: [WooCommerce] Enlarge the payment agent symbol: Przelewy24Try this custom css:
.wpfnl-checkout .woocommerce-checkout #payment ul.payment_methods > li > label img { width: 100px !important; margin-top: -26px; }
Its natural size is only 54px wide so it looks fuzzy at 100px.
Forum: Plugins
In reply to: [WooCommerce] Updating Email address in WooCommerce my account sectionGot it. This is a WordPress email which is used by WooCommerce. Its not one of the WooCommerce emails.
WordPress gives us a filter to allow anything in the email to be changed before sending. The filter is called “email_change_email”
For more information, see:
https://developer.wordpress.org/reference/hooks/email_change_email/
and
https://www.flippercode.com/wordpress/how-to-use-email_change_email-filter-in-wordpress/
and other links.If you prefer a plugin, try:
https://wordpress.org/plugins/bnfw/
It looks appropriate but I’ve not tried it myself for this application.Forum: Plugins
In reply to: [WooCommerce] Strikethrough pricesI couldn’t find a way of changing the height of the strike through line, but someone posted a workaround. Try this custom css:
del { text-decoration: none; position: relative; } del::before{ content: ''; width: 100%; position: absolute; right: 0; top: 50%; border-bottom: 1px solid rgb(85, 85, 85); }
Change the 50% value to move the line up and down.
Check round your site to make sure nothing else is affected that shouldn’t be.
Forum: Plugins
In reply to: [WooCommerce] Strikethrough pricesPlease post the address of a relevant page so the markup and styles can be examined with browser tools.
Forum: Plugins
In reply to: [WooCommerce] Product SKU with dotsI was able to set a SKU of
Art…work…
without error. Works on the product page and product list. Please give an example of a SKU which gives the Invalid SKU error.Also worked with an intervening space. Seems to be just a string.
Forum: Plugins
In reply to: [WooCommerce] Change default Sorting Style in woocommerceThis element comes from a template, so you can override it.
Copy
wp-content/plugins/woocommerce/templates/loop/orderby.php
to
wp-content/themes/your-child-theme/woocommerce/loop/orderby.phpIf your theme has already customized this template, start with that.
Edit the copy to remove the select and show a list instead. Some css will be needed to make it look good. PHP skills will be needed.
The actual code is probably more that you could expect in a forum answer.
Forum: Plugins
In reply to: [WooCommerce] remove payfast logo on checkout pageYou could try some custom css:
label[for="payment_method_payfast"] img { display: none; }
Forum: Plugins
In reply to: [WooCommerce] Removing the first variation in all products from span pricingThis custom css should work on the archive page. The single product page is more tricky.
/* archive */ ul.products li.product.product-type-variable .price { visibility: hidden; } ul.products li.product.product-type-variable .price span.amount:nth-child(2) { visibility: visible; padding: 2px 6px; background-color: #000; }
Forum: Plugins
In reply to: [WooCommerce] Updating Email address in WooCommerce my account sectionIf you are keen not to use a plugin, what you can do is to make a custom template.
Start with the default template at:
wp-content/plugins/woocommerce/templates/emails/customer-reset-password.phpIf your theme already has an override for this template, start with that.
Copy the email template to:
wp-content/themes/your-child-theme-name/woocommerce/customer-reset-password.php
and edit the template. PHP skills will be needed.Your edits will be safe from being overwritten by updates if your edited template is inside your child theme.
Forum: Plugins
In reply to: [WooCommerce] Variable product – adding attributes for use in variationsI had a look at your system status report. The only thing that stood out is that your theme is quite old. It dates from late 2020 and it is compatible with WooCommerce 4.7.1 according to the theme changelog. WooCommerce is now at version 7.9.0.
So, please temporarily deactivate all plugins except WooCommerce again, and this time, also switch to the Storefront theme, and check.
This work will test whether your theme is causing the problem.