mallamace
Forum Replies Created
-
One more try, but no luck with following:
https://givewp.com/documentation/developers/how-to-add-custom-email-tags/This did not return any results
/** * Adds a Custom "Occupation" Tag * * This function creates a custom GiveWP email template tag. */ function my_custom_prefix_add_occupation_tag() { give_add_email_tag( array( 'tag' => 'my-occupation-tag', // The tag name. 'desc' => __( 'This outputs the Occupation', 'give' ), // For admins. 'func' => 'my_custom_prefix_get_donation_occupation_info', // Callback to function below. 'context' => 'general', // This tag can be for both admin and donor notifications. 'is_admin' => false, // default is false. This is here to simply display it as an option. ) ); } add_action( 'give_add_email_tags', 'my_custom_prefix_add_occupation_tag' ); /** * Get Custom Occupation Message * * Example function that returns custom field data if present in payment_meta; * The example used here is in conjunction with the GiveWP documentation tutorials. * * @param array $tag_args Array of arguments * * @return string */ function my_custom_prefix_get_donation_occupation_info( $tag_args ) { // Update get meta request to get your custom data. You can pull from payment meta, donor meta, or other custom meta. $my-occupation-tag = give_get_meta( $tag_args['payment_id'], 'give_occupation', true ); $output = __( 'No Occupation message :(', 'give' ); // Fallback message. (optional) if ( ! empty( $my-occupation-tag ) ) { $output = wp_kses_post( $my-occupation-tag ); } return $output; }I found the stored Donor META data in phpMyAdmin ‘wp_xxxxxx_give_donormeta’ table, however I am still unable to retrieve this information into an email upon submit.
If there is a way to retrieve the same information from within Donations WordPress admin this would also be acceptable solution.
Pulling up phpMyAdmin is not practical.
I’m also using Stripe payment if that helps.
I figured it out after much struggling. I was able to set the TAX RATE in Google Merchant itself. I was also able to do this for SHIPPING. These are both settings you can setup in Google Merchant!
Forum: Plugins
In reply to: [WooCommerce] Best PluginI get asked this a lot from my clients, there are plugins out there to do this. However, the most simplest way is to find one drop shipper at first and send all new order emails to this drop shipper. They will be happy with the business, and it’s best to have a working model before going to the next level. The simplest way, at first, is just upload all the products your drop-shipper will ship for you and develop a good process, make some money immediately.
If you MUST start with several drop-shippers then you should have a professional web developer who has done this before help you, there are a million and one ways to do this. There is no right way, “rule of thumb” or best practices. Each business model is unique, just as every drop-shipper you work with will be unique.
Forum: Plugins
In reply to: [WooCommerce] Column Mapping Issue in 3.1.1–
- This reply was modified 8 years, 11 months ago by mallamace.
Forum: Plugins
In reply to: [RootsPersona] How does RootsPersona compare to PHPGedView?Great feedback jhnpldng!
I would love if rootpersona took care of part of these items. Perhaps this is a good request list for ed4becky on new features/functionality.
Forum: Plugins
In reply to: [Flickr Justified Gallery] Support for Private albums?Hi emirprime, you exactly identified the issue I’m having. Specifically I’m trying to use the shortcode example (of course with my own album):
[flickr_set id=”72157629228993613″]
…and I get the following error message
“Flickr API error: Photoset not found”
Please share your hack. This is the only reason why I’m using the plugin. I’d hate to give it anything less than 5 stars because of such a silly oversight by the author. Thanks!!!
Forum: Plugins
In reply to: [RootsPersona] How does RootsPersona compare to PHPGedView?Any updates?
Forum: Plugins
In reply to: [Master Slider - Responsive Touch Slider] Slider is not working properlyI disabled everything. No luck.
Forum: Plugins
In reply to: [Twitter Feed] Display Responses @With a little more digging I think I found the answer to my question:
http://s.ww.wp.xz.cn/extend/plugins/twitter-feed/screenshot-2.png?r=418090