pulsewebdesigns
Forum Replies Created
-
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Error sending to PardotLike many others, I’m running into this same issue and I’m trying to figure out what the hook needs to look like. I’ve found a few threads that I think should yield an answer, but I’m not a good enough programmer to figure out how to author a working solution.
Can you please advise how to combine these two code snippets into a working solution? I think a lot of people would benefit from it. Thanks in advance!
function my_3rdparty_get_override($post_args, $service, $form) { $post_args['response_bypass'] = wp_remote_get($service['url'], $post_args); return $post_args; }
$curl_opts = array( CURLOPT_URL => $service['url'].'/?'.http_build_query($post_args['body']), CURLOPT_CONNECTTIMEOUT => 5, CURLOPT_TIMEOUT => $post_args['timeout'], CURLOPT_POST => 1, //CURLOPT_PROTOCOLS => CURLPROTO_HTTPS, CURLOPT_SSL_VERIFYHOST => 2, CURLOPT_RETURNTRANSFER => 1 ); $ch = curl_init(); curl_setopt_array($ch, $curl_opts); $response = curl_exec($ch); curl_close($ch);
@erin814 I decided to go back to using a sales tax table provided by the state I operate in, since I only have the one physical presence. WooCommerce recommends TaxJar, if you don’t want to use their plugin which uses Jetpack services, but I haven’t found TaxJar to be the most accurate solution from past experiences.
It’s notable that the Supreme Court decided in June that each state can now require sales tax to be collected on internet sales. It’s going to be a mess while states figure out the best way to (ab)use this power, and I think most tax solutions will see an overhaul once laws are actually passed in each state. I’ll probably retest my options at that point.
Forum: Plugins
In reply to: [Page scroll to id] Deprecated functions@malihu Makes perfect sense. Thank you for the quick response. Also, I do very much like the plugin, so thank you for the time and effort you put into making it.
Best,
Justin
- This reply was modified 6 years, 9 months ago by pulsewebdesigns.
@dualcube The new release worked for me. Thank you!
@nietbelangrijk The new native implementation opens the T&C content inline on the checkout page. It does not open it in a modal (popup) window, which is what I and others are probably looking for. Also, the inline version (at least for me) isn’t including any of the styling I’ve applied to my HTML tags. So it would still be beneficial to have this plugin updated and available.
- This reply was modified 6 years, 10 months ago by pulsewebdesigns.
- This reply was modified 6 years, 10 months ago by pulsewebdesigns.
Hi Moumita,
Thank you for the CSS code. That worked quite well.
The simplepopup.js file wasn’t actually removed – the code was just combined with all of my other JS files and minified using the Autoptimize plugin. I have disabled Autoptimize for JS for the time being to illustrate. Looking at the source code, will show that the script is located at https://staging.maxhalloween.com/wp-content/plugins/woocommerce-checkout-terms-conditions-popup/assets/frontend/js/simplepopup.js. Even with the script in its regular usage, clicking the ‘X’ produces no results.
Could this be a result of plugin conflict as well? Thanks!!
Best,
Justin
Forum: Plugins
In reply to: [WooCommerce Checkout Terms Conditions Popup] Carriage returns / line breaksI know it’s a bit late to reply to this issue, but it may help someone else who encounters the same issue. In order to separate lines of text / maintain carriage returns in the display of your Terms page you must explicitly declare paragraphs and line breaks with HTML. You can’t rely on the ones that are automatically inserted by the WordPress visual editor.
Your text
over three lines
can’t be like this.
Your text <p>over three lines</p> <p>has to be like this</p>
I contacted your support team about this and even showed that the error is consistent on your own website. The new update still did not address the display issue. Please fix this ASAP, otherwise I need to find a solution that will render properly on Internet Explorer.
Forum: Reviews
In reply to: [Pricing Table by Supsystic] Bloatware, slowing down your website big time!Have you done any tests to determine what loading the CSS and JS files actually does for your page load times? Have you verified whether the CSS and JS files have been minified to reduce load times? Have you considered that maybe some people will gladly trade minor page load time differences for functionality/simplicity?
It’s one thing to post findings that are supported with data to improve a product or educate the community as a whole. Otherwise, all you’ve done is create a flame post which adds no value to anyone.
I will contact you through the internal support link as requested. The CSS margin worked after adding it into the table’s style sheet. Thank you!!
The URL where we have the pricing table is here.
I tried putting the CSS code into the CSS file for the plugin (pricing-table-by-supsystic/css/style.css), but it didn’t seem to have any effect.
Forum: Plugins
In reply to: [WooCommerce] Replace Price with linkFor anyone who stumbles across this, I achieved what I was looking for with the code:
function woocommerce_template_single_price(){ echo '<a href="#">Request a sample</a>'; }
There’s probably another way to do it, but since I don’t care about reusing the $price variable this worked well for me.
Forum: Plugins
In reply to: [WooCommerce] Replace Price with linkI’ve got this half figured out now…
I can remove the displayed price using the code
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
in my functions.php fileNow if someone could tell me what I need to stick in there to echo a link I’d be extremely grateful. Thanks!!
Forum: Plugins
In reply to: [WooCommerce] **BUG** WC Product Add OnsThis bug has now been fixed in a new version of the plugin.