ehmarketing
Forum Replies Created
-
Forum: Plugins
In reply to: [SiteGround Migrator] How long should it take?The siteground log in wp-content doesnt give much away:
[06-Aug-2020 10:58:21 UTC] INFO: Transfer started. Creating archives of files…
[06-Aug-2020 10:58:21 UTC] INFO: Updating transfer id.
[06-Aug-2020 10:58:21 UTC] INFO: Updating transfer psk.
[06-Aug-2020 10:58:51 UTC] INFO: Critical Environment Error
[06-Aug-2020 10:58:51 UTC] ERROR: Array
(
[type] => 1
[message] => Maximum execution time of 30 seconds exceededI have the most up to date Woocommerce, so hopefully that isnt an issue (I saw it was causing problems but has been fixed?), I dont have the Google plugin that has been mentioned in other threads. What else can I do to troubleshoot?
Forum: Plugins
In reply to: [MojoPlug Slide Panel] Using for Woocommerce filtersHi @hkan91
I’m afraid I didnt get this plugin working for me. I tried a few plugins and none of them were very straightforward, or would take a lot to get them working and looking right. I am using The7 theme, and when I spoke to them for a customisation quote they liked the idea so much they developed it and add it to the next update of the theme.
Forum: Plugins
In reply to: [WooCommerce] Toggle in stock / out of stock on front endThanks for that. I had looked at that plugin before but didn’t see anything about a stock toggle, good to know it has one. I might reconsider purchasing it!
Forum: Plugins
In reply to: [WooCommerce] Reorder countries in checkoutThanks for that! I also found the below, if it helps anyone
add_action('woocommerce_add_to_cart' , 'set_country_befor_cart_page'); function set_country_befor_cart_page(){ //WC()->customer->set_country('US'); //set country code of default country //WC()->customer->set_shipping_country('US'); WC()->customer->set_country(''); //reset default country WC()->customer->set_shipping_country(''); }
Forum: Plugins
In reply to: [WooCommerce] Reorder countries in checkoutThat’s fantastic, thank you! Is there a way to also apply this to the shipping calculator in the cart page too?
Forum: Plugins
In reply to: [WooCommerce] Hide price display suffix based on user roleI have got a big closer with the following:
function custom_price_suffix( $price, $product ) { $your_suffix = 'ex VAT ({price_including_tax} inc VAT)'; // check current user role $user = wp_get_current_user(); $roles = ( array ) $user->roles; if ( in_array( 'administrator', $roles ) ) { $price .= $your_suffix; } elseif ( in_array( 'default_wholesaler', $roles ) ) { $price .= $your_suffix; } // return $price; return apply_filters( 'woocommerce_get_price', $price ); } add_filter( 'woocommerce_get_price_html', 'custom_price_suffix', 100, 2 );
However this is adding the suffix twice. It is also not recognising the Woo shortcode {price_including_tax} and not displaying the price.
Can anyone help? Thanks
I just asked same question. Did you get it to do this?
Thanks Craig, I will get in touch there!
Hi Craig, thanks for your reply. Just bought the pro version! However, I just realised it doesn’t quite do what I was hoping to do (I think).
I am making an eCommerce site and wanted to have a bit on the homepage to show customers “What You Have Made With Our Product” and then it would feed in anyone that tagged us (or used a unique #OurBusinessName hashtag) in one of their posts. Now I’m setting it up I’ve seen it say “it is not possible to display photos from other Instagram accounts”.
Is there a workaround to help me achieve this user generated content?
Thanks!
Forum: Plugins
In reply to: [WooCommerce] Barclay EPDQThanks Etienne, I’ve got a few plugins to look at, this is a new one to me though. Have saved it and see if Barclay have one they would recommend!
Forum: Plugins
In reply to: [WooCommerce] One product, Two products IDsHi Nick, thanks for your help with this. I was seeing it in the Woo Cart Notices plugin by Sky Verge, have spoken to their support who are always quick, and they have told me that it creates multiple id’s on variable products.
Forum: Plugins
In reply to: [Kadence WooCommerce Email Designer] Remove delivery methodSorry for the slow reply, thanks for your help! We wont be using that payment method when the site is complete so hopefully all will be fine when we get round to setting up a payment gateway!
Forum: Plugins
In reply to: [WooCommerce] One product, Two products IDsHi Nick,
Thanks for the reply. The product is not there if I look in >All Products.
If I change the ID in an URL i get a WordPress error “Sorry, you are not allowed to edit posts in this post type.”
- This reply was modified 4 years, 10 months ago by ehmarketing.
Forum: Plugins
In reply to: [WooCommerce] Adding Product Attributes column to Product Admin pageThanks again for all your help with this!
Forum: Plugins
In reply to: [WooCommerce] Adding Product Attributes column to Product Admin pageHi @crslz
There are 13 different colours terms for the colour Attribute, and at the moment there are 15 different attributes. Possibly over 100 terms in total.
All have been set up the standard way in Woocommerce Attributes and ‘configure terms’. I have no idea how it works but my guess is that the numbers refer to colours in the same way that categories and posts etc all have numbers. I haven’t set the numbers, that happens automatically. I will see if I can find what number each term has!
Thanks again!