David Relich
Forum Replies Created
-
Forum: Plugins
In reply to: [Trust.Reviews] Limit number of reviews pulled inIndeed. It did work properly after I started the process of generating the shortcode from scratch, including a new FB login. Updating the existing shortcode did not work, generating a brand new one did. Thanks.
Forum: Reviews
In reply to: [Database for Contact Form 7] Unfinished product (UPDATE: now okay)Thanks. Much appreciated.
Forum: Plugins
In reply to: [YITH WooCommerce Gift Cards] Auto-generate code for cards created by adminAh, sorry. Didn’t realise.
I can’t see any option to edit existing comment, or delete it, though? Not even an option to delete the whole thread…
Forum: Plugins
In reply to: [YITH WooCommerce Gift Cards] Auto-generate code for cards created by adminFor anybody needing it, this is the code I was sent by Francisco. It goes to functions.php of your active theme. Works like a charm!
if ( ! function_exists( 'ywgc_generate_automatic_code' ) ) { function ywgc_generate_automatic_code( $post ) { if ( get_post_type() != 'gift_card' ) { return; } if ( $post->post_title != '' ) { return; } $title = YITH_WooCommerce_Gift_Cards_Premium::get_instance()->generate_gift_card_code(); ?> <script type="text/javascript"> jQuery(document).ready(function ($) { $("#title").val("<?php echo $title; ?>"); }); </script> <?php } add_action( 'edit_form_after_title', 'ywgc_generate_automatic_code' ); }
Forum: Plugins
In reply to: [YITH WooCommerce Gift Cards] Auto-generate code for cards created by adminContacted support directly since I am using a paid version.
Forum: Themes and Templates
In reply to: [YITH Proteo] Problem with dynamic PricingInterestingly enough, I am experiencing the same problem but with WooCommerce Dynamic Pricing & Discounts by RightPress.
Cart quantity updates work fine for any guest user but once the user logs in the quantity updates in cart work intermittently (mostly don’t workt).
I switched from Proteo to default Twenty Twenty-One theme supplied with WordPress and cart quantity updates worked fine even for logged in users so I believe it really is a problem with the Proteo theme.
- This reply was modified 3 years, 10 months ago by David Relich.
Forum: Plugins
In reply to: [WooCommerce] Manual Order – Add Product Dropdown LimitHey, Tony!
Obviously, I wouldn’t be going about editing core files. Just wanted to see what hook/filter I’d need to use.
Aaaanyway, your code worked brilliantly. Thanks so much for your help! You saved me some headaches, haha!
Cheers again!
David.
Forum: Plugins
In reply to: [WooCommerce] Manual Order – Add Product Dropdown LimitThanks, Tony!
I don’t suppose you could point me to the file that actually handles this functionality so I can do the coding myself?
Cheers.
Hi Brad,
It makes sense for the units to show up during the whole shopping process.
People are stupid, easily confused, and the moment the unit disappears they panic and close the site, and the order is lost.
Cheers,
David.
Forum: Plugins
In reply to: [WP Customer Reviews] want the review option for logged in users only+1 for this feature. i’d love to have the option too. thanks.
UPDATE: Just checked https://demo.enigmaweb.com.au/knowledgebase/ and it’s the same problem there so I’d go ahead saying it’s not my theme’s problem (it’s a custom theme base on _underscores framework). Thanks.