chris15326
Forum Replies Created
-
And another friendly reminder ???♂? … Guess my mails land in your spam again???
Hey @bmilligan15 ?? Since I do believe in your plugin and the work and effort you put into it to make it as fast and clean as possible, I upgraded to a “high ticket” plan because I hoped to get it to work fast with the priority support in this plan. Didn’t hear back for a couple of days – I know I can be a pain in the ass, and that’s not meant as a critique.
Just wanted to create a *friendly reminder* with this!
Anyway. Have a great day and take care, my friend ??
With kind regards
Chris- This reply was modified 1 year, 8 months ago by chris15326.
Forum: Plugins
In reply to: [WooCommerce] Hiding woo breadcrumbs on specific pageHey! As I said above for me the solution was this:
.postid-694 .woocommerce-breadcrumb { display: none !important; } .postid-694 .archive-header { padding-top: 15px !important; }
??
Forum: Plugins
In reply to: [WooCommerce] Hiding woo breadcrumbs on specific pageOkay I was able to do this with CSS, after I needed to try a lot of different ways to format the page-id. Because I only wanted to hide the breadcrumbs on the product page where I’m running ads to.
I don’t know if the PHP version would have any advantages, but I can’t make it work through the PHP.
Here is the CSS solution:
.postid-694 .woocommerce-breadcrumb { display: none !important; } .postid-694 .archive-header { padding-top: 15px !important; }
- This reply was modified 2 years ago by chris15326.
Forum: Plugins
In reply to: [WooCommerce] Change checkout opt-in positionThe plugin that creates this opt-in on the checkout page also said I would need to ask the Woo support. ?? Because the checkout area itself is pure Woo and I want to add it right there.
From my understanding the code would need to be similar to this one:
add_filter( 'woocommerce_billing_fields', 'bbloomer_move_checkout_email_field' ); function bbloomer_move_checkout_email_field( $address_fields ) { $address_fields['billing_email']['priority'] = 1; return $address_fields; }
That was the code I was able to display the e-mail-field on top of all other fields. But it would need to address the Checkout opt-in and I cant make this due to lack of basic understanding.
Forum: Plugins
In reply to: [WooCommerce] Adding a price suffix ONLY on product pagesFinally I found the solution that works perfect!
For anybody that wants to do the same and stumbles uppon this thread in future:
function custom_price_suffix( $price, $product ) { global $woocommerce_loop; if( is_product() && !$woocommerce_loop['name'] == 'related' ) { $price = $price . ' <span class="make-me-small"> Inclusive of all taxes</span>'; } //return $price; return apply_filters( 'woocommerce_get_price', $price ); } add_filter( 'woocommerce_get_price_html', 'custom_price_suffix', 100, 2 );
Forum: Plugins
In reply to: [Code Snippets] Restricting php snippet to product pagesFound the solution!
function custom_price_suffix( $price, $product ) { global $woocommerce_loop; if( is_product() && !$woocommerce_loop['name'] == 'related' ) { $price = $price . ' <span class="make-me-small"> Inclusive of all taxes</span>'; } //return $price; return apply_filters( 'woocommerce_get_price', $price ); } add_filter( 'woocommerce_get_price_html', 'custom_price_suffix', 100, 2 );
Forum: Plugins
In reply to: [Klaviyo] relocate the opt-in form at checkout pageWell thats one of my experimental staging versions (you know its all in the making right now and thats why klaviyo isnt active because I uninstalled it and tried another software for opt-in consent on my way to find out how to place this below the e-mail-field of the checkout) but you can use it to take a look and I will also create a support ticket!
Actually I just reinstalled Klaviyo as well.
Forum: Plugins
In reply to: [WooCommerce] Change checkout opt-in positionHey @anastas10s thanks for your response!
Yes, the Checkout is from the theme, but the actual checkout field is fully WooCommerce.
I hope you know what I mean. That’s why I was able to setup and change a lot through the WooCommerce app itself and also used WooCommerce’s codes to relocate the single fields within the checkout form fields.
I already asked Shoptimizer as well and they pointed me towards you/WooCommerce! ??
Forum: Plugins
In reply to: [Klaviyo] relocate the opt-in form at checkout pageHey Brandon! Thank you so much for your quick response! ??
Well, I’m using the normal WooCommerce Checkout, so no extra app involved currently.
I even tried to adjust the fluid-checkout-snippet from above… but wasnt able to.That being said I dont understand much of the rules when it comes to php I guess thats the reason why ??
With kind regards
ChrisForum: Plugins
In reply to: [WooCommerce] Adding a price suffix ONLY on product pagesThanks for your time and effort! And yes!
This code:
function filter_woocommerce_get_price_html( $price, $product ) { global $woocommerce_loop; if ( is_product() && $woocommerce_loop['name'] !== 'related' && $woocommerce_loop['name'] !== 'up-sells' ) { $price .= ' <small> incl. tax</small>'; } //return $price; return apply_filters( 'woocommerce_get_price', $price ); } add_filter( 'woocommerce_get_price_html', 'filter_woocommerce_get_price_html', 10, 2 );
Seems to work exept in this location:
https://i.postimg.cc/hPHBSGFx/megamenu.jpgit still shows up on itmes displayed through the mega menu. Anywhere else its fine now.
Wonder if somebody of your wizards can take a look at that and see if he or she can exclude it from there as well.
Again, thank you so much for your support! You have no idea how much appreciate your help!
With kind regards
ChrisForum: Plugins
In reply to: [WooCommerce] Change checkout opt-in positionHey @xue28 !
Thank you so much!
You can check this out under this staging:
https://wordpress-858200-3004984.cloudwaysapps.com/index.php/product/denim-jacket/Here is an Image to give you an idea:
https://i.postimg.cc/Y9bjZYyN/fdfdfdffdf.pngWith kind regards
ChrisP.S:
Here is the PHP Code I used to change the position of the e-mail-field, but I dont think this is any help:add_filter( 'woocommerce_billing_fields', 'bbloomer_move_checkout_email_field' ); function bbloomer_move_checkout_email_field( $address_fields ) { $address_fields['billing_email']['priority'] = 1; return $address_fields; }
Forum: Plugins
In reply to: [WooCommerce] Hiding product title and adding headline below titleAha @amiralifarooq ! I noticed one thing. Could it be, that the title shows up twice on homepages / collection overviews?
This only appears on the homepage, product pages are fine and it works as intended!
https://i.postimg.cc/Y9t2Zqv7/nngngfn.png
I guess this needs to be prevented with another rule?
UPDATE:
This only seems to appear in edit mode! does this makes sense?- This reply was modified 2 years ago by chris15326.
Forum: Plugins
In reply to: [WooCommerce] Hiding product title and adding headline below titleSure! And thank you again ??
Forum: Plugins
In reply to: [WooCommerce] Hiding product title and adding headline below titleJust to verify, did you create the Custom field for your products by using the ACF plugin, as they mentioned in this article:
Yes! ?? Of course: https://i.postimg.cc/nrnrnkLs/fvdfvdsfvsdgvds.png
If yes, what is the Custom field name you created for your products? See this screenshot: https://screencast-o-matic.com/i/c36TYGVuosi
Its the same field-name as it is in your code: https://i.postimg.cc/vmvCpLC2/dfhbgfhnfgjnhftgj.png
Also, If you did anything wrong in the code function.php the site may get down, so I suggest remove the code from the function.php file and add the code in the Code Snippets plugin
Strange I copy pasted the exact same code out of my functions.php into the snippet pugin without changing anything and now it works!