Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/18/2022 in all areas

  1. Are the "landing pages" something that you guys have written, using html forms to collect the data? If so why are you not submitting them to your domain where your php code and process the inputs and store the data in your own db and from there do what you want?
    1 point
  2. And may I ask - what is "exit intent"?
    1 point
  3. "Content is fit". What is that supposed to tell us? And BTW - you never did ask a question so I will ignore this topic. Perhaps if you used better English you would receive nicer replies.
    1 point
  4. Lookup a Responsive Design Tutorial. Your questions are all extremely broad and basically impossible to provide an answer to. To be honest you kind of sound like someone who just got a web development job but doesn't actually know anything about web development. You really need to learn how to ask a question properly.
    1 point
  5. You need to find some API or other method of integrating with whatever CRM software you're using. Contact the company that develops the CRM software and ask them how to do it.
    1 point
  6. WordPress is PHP. PHP is server side, and as such cannot create a popup on the client. For that you need JavaScript.
    1 point
  7. My educated guess is that requinix is right. I also think the code snippets reflect that the order object should be available in plugin2 via $this->object. So I would suggest you try adding this code to plugin2 $this->placeholders['{order_service_time}'] = get_post_meta( $this->object->get_id(), '_wfs_service_time', true);
    1 point
  8. It's been a while since I've dealt with WooCommerce and even in my current job my interaction with WP core has been limited so ymmv, but given you're talking about WordPress plugins I assume the global $post variable is available. If I remember correctly (and a quick SO search didn't lead my brain astray) you should be able to add `$order = new WC_Order($post->id);` before the code requinix suggested if you get an error with just that code alone. WordPress relies heavily on global variables and this unfortunately makes debugging difficult at times...
    1 point
  9. receipt_services_meta() is intended to display some HTML table of data. If you just want one value out of it, without a table, then you can't actually use the function. But you can look at the function and mirror how parts of it work. Specifically, the bits that involve the $service_time. $service_time is defined as $service_time = get_post_meta( $order_id, '_wfs_service_time', true ); so the first question is: how do you get $order_id? That came from $order_id = version_compare( WC_VERSION, '3.0.0', '<' ) ? $order->id : $order->get_id(); so next is: how do you get $order? Because that was provided to the receipt_services_meta() function by something else. If you're lucky, the $order from the first plugin may be the same as the $this->object from the second plugin. I'm skeptical, but without knowing more you might as well try it out. $order_id = version_compare( WC_VERSION, '3.0.0', '<' ) ? $this->object->id : $this->object->get_id(); $service_time = get_post_meta( $order_id, '_wfs_service_time', true );
    1 point
This leaderboard is set to New York/GMT-05:00
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.