ehmarketing
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Adding Product Attributes column to Product Admin pageAh now I understand, so I have put in the code you gave above and here is a screenshot of the array: https://ibb.co/Hp3PBnc and https://ibb.co/XXWzzbM
I wouldn’t know what to do with this information!
Forum: Plugins
In reply to: [WooCommerce] Adding Product Attributes column to Product Admin pageHi there, thanks again for your help with this!
I’m not trying to print anything – or does ‘print’ in this context mean something else?
Your code above helped to get the Attributes column to appear and fill with the Attribute name (e.g ‘Colour’), now I hope to include the term (e.g. ‘Red’), and remove the ‘pa_’ that seems to be appearing as a prefix in the terms.
i.e now it displays “pa_colourpa_treatment”, I’d like to get “colour:red, treatment:dyed”.
Forum: Plugins
In reply to: [WooCommerce] Adding Product Attributes column to Product Admin pageAwesome, that has very very nearly done it!
It is bringing in the names of the attributes now, but each attribute is prexifed by pa_, like this “pa_colourpa_treatmentpa_plant-type”.
It is also showing me which attributes have been used, but not what terms have been applied. e.g. above it says colour, but not what colour term (blue, red) has been selected.
Forum: Plugins
In reply to: [WooCommerce] Adding Product Attributes column to Product Admin pageThat’s great! It has created a new column which I have renamed, and is pulling in the attributes. It’s pulling in the attributes as numbers, is there something I can add to have it show the actual attribute name?
Many thanks again for your help, really appreciated!
Forum: Plugins
In reply to: [WooCommerce] Adding Product Attributes column to Product Admin pageHi there,
Thanks very much for this. I’ve tried putting it in Codesnippets but I’m not getting a new column appearing.
I’ve put the code in exactly as:
function add_product_column( $columns ) { //add column $columns['new_column'] = __( 'New column', 'woocommerce' ); return $columns; } add_filter( 'manage_edit-product_columns', 'add_product_column', 10, 1 ); function add_product_column_content( $column, $postid ) { if ( $column == 'new_column' ) { // Get Product Variations $product->get_attributes(); $product->get_default_attributes(); } } add_action( 'manage_product_posts_custom_column', 'add_product_column_content', 10, 2 );
Have I got something wrong?
Forum: Plugins
In reply to: [Kadence WooCommerce Email Designer] Remove delivery methodHi there,
Please see a screenshot of the email customiser here https://ibb.co/QYGhqcf
I’ve marked in red the sentence I am referring to. The one at the top I would like to remove and can keep the one in the table.
Many thanks,
Ashley
Forum: Plugins
In reply to: [Kadence WooCommerce Email Designer] Remove delivery methodI’ve managed to improve the spacing of the social media icons by putting the padding up to 150.
I found someone else asking about removing the payment method and you mention it is not something your plugin can do, so i’ll leave this for now.
Thanks!
Forum: Plugins
In reply to: [WooCommerce] Solution to category page filters on mobileHi @keraweb
My theme The7 support have just helped me to insert the code below the body and above the footer, according to your setup instructions.
My theme has a slide out menu on mobile already, and now this menu looks greyed out and doesnt work correctly. Should your plugin work alongside existing slide out functionality?
Many thanks
Forum: Plugins
In reply to: [WooCommerce] Solution to category page filters on mobileThanks @keraweb
I downloaded the plugin and had a quick look at the instructions but haven’t set it up completely yet or had time sussing it out.
As a novice I think this plugin is probably a bit out of my ability so I’ll persevere with it slowly, or enlist some help from someone with good php skills. I’ll read any documentation and guides and get back to you when I’m stuck!
Thanks again
Forum: Plugins
In reply to: [WooCommerce] Move Product Filter to Top on MobileI am having the same issue.
My theme have provided me with some simple code to now display the sidebar/filters above the products on mobile, however it is not ideal – with a few filters the customer will now have to scroll down quite far to start seeing the product.
I’d love to find a solution in the form of a filter ‘button’, whether it is a modal pop up or slide out panel. Haven’t found it yet!
Forum: Plugins
In reply to: [WooCommerce] Emails in WoocommerceThanks Dan and Fernando, I will look in to this way of doing it. I just purchased AutomateWoo in the Black Friday sale!