mangtum
Forum Replies Created
-
I wanted to add, when I view the email in the email customizer, I can see the images for ‘Customer Processing Order’ emails but when the customer actually gets the email there is none.
Thanks
Hi,
When a customer places an order, he gets an email about his order which is regarded as ‘customer processing order’ email in woocommerce – that email does not have the images.
When the customer places an order, the admin also gets an email which is regarded as “New Order” email in woocommerce. This email which the admin gets has the images.
I have another plugin in which the store owner also gets an email about the new order, even that email does not have the images.I don’t see an option for attachment here, else I would have attached how the three emails look for the same order – one has the images, other two do not. (I understand if the other plugin email is out of your scope).
Thank you
Hi Royho,
I have been getting the same error ever since I upgraded. I am still on Test. This is the error I see on the log. I tried using different emails to test but always the same error.
03-15-2018 @ 17:15:49 – ====Start Log====
Info: Begin processing payment for order 2971 for the amount of 84.49
====End Log====03-15-2018 @ 17:15:49 – ====Start Log====
charges request: Array
(
[currency] => usd
[amount] => 8449
[description] => mysite.com – Order 2971
[statement_descriptor] => mysite.com
[capture] => true
[expand[]] => balance_transaction
[metadata] => Array
(
[customer_name] => Pgumgff
[customer_email] => [email protected]
[order_id] => 2971
)[customer] => Array
(
[customer_id] => cus_BWlFEMW3I4PT7F
[active_card] => 4242
[exp_year] => 2019
[exp_month] => 9
)[source] => src_1C66EMGBrLGQwiDHpyeJhPBG
)====End Log====
03-15-2018 @ 17:15:50 – ====Start Log====
Error: stdClass Object
(
[error] => stdClass Object
(
[type] => invalid_request_error
[message] => Invalid string id: {“customer_id”=>”cus_BWlFEMW3I4PT7F”, “active_card”=>”4242”, “exp_year”=>”2019”, “exp_month”=>”9”}
[param] => customer
))
====End Log====
Thanks
Forum: Plugins
In reply to: [Front End PM] How can I redirect the login to the custom my account page?Thank you Shamim for your reply.
Forum: Plugins
In reply to: [Front End PM] Private PM buttonI meant the code by @dot31 with changes mentioned by the author and it worked.
Forum: Plugins
In reply to: [Front End PM] Private PM buttonI used this code and it worked
echo ‘<div class=”fep-column”> ‘user_nicename’)).'”>’.__(“Envoyer un message”, “front-end-pm”).’</div>’;Forum: Plugins
In reply to: [Front End PM] Add button to each annonce – Business directory pluginI was able to figure out. Thank you and sorry for the trouble.
Forum: Plugins
In reply to: [Front End PM] Add button to each annonce – Business directory pluginSorry somehow wordpress removes the code for calling buddypress message system when I submit .
Forum: Plugins
In reply to: [Front End PM] Add button to each annonce – Business directory pluginSorry the code did not go through well. I am adding it again:
Adds a “Contact Vendor” link on Single Product Pages which uses BuddyPress Private Messages */
add_action(‘woocommerce_product_meta_start’, ‘wcv_bppm_woocommerce_product_meta_start’);
function wcv_bppm_woocommerce_product_meta_start() {
if ( is_user_logged_in() ) {
$wcv_store_id = get_the_author_meta(‘ID’);
$wcv_store_name = get_user_meta( $wcv_store_id, ‘pv_shop_name’, true);
echo ‘<br>Contact Vendor: Contact ‘ . $wcv_store_name . ‘‘;
}
else {
$wcv_my_account_url = get_permalink( get_option(‘woocommerce_myaccount_page_id’));
echo ‘<br>Contact Vendor: Login or Register to Contact Vendor‘;
}
}——————
This is the code that actually calls Buddypress message system
echo ‘<br>Contact Vendor: Contact ‘ . $wcv_store_name . ‘‘;Thanks
Forum: Plugins
In reply to: [Front End PM] Add button to each annonce – Business directory pluginHi,
I am using a multi-vendor pluging. This is the code to add ‘Contact Vendor’ link on individual vendor product page. This code uses BuddyPress Private messaging when a user clicks on ‘Contact Vendor’. I want to use FE PM. How can I replace the Buddypress code with FE PM? I have tried several things but it does not seem to work. I even tried to replace it with the code as mentioned in https://www.shamimsplugins.com/wordpress/docs/front-end-pm/customization/user-name-pre-populate-new-message/
but it gives fatal error.Thank you,
Malavikaadd_action(‘woocommerce_product_meta_start’, ‘wcv_bppm_woocommerce_product_meta_start’);
function wcv_bppm_woocommerce_product_meta_start() {
if ( is_user_logged_in() ) {
$wcv_store_id = get_the_author_meta(‘ID’);
$wcv_store_name = get_user_meta( $wcv_store_id, ‘pv_shop_name’, true);
echo ‘<br>Contact Vendor: Contact ‘ . $wcv_store_name . ‘‘;
} else {
$wcv_my_account_url = get_permalink( get_option(‘woocommerce_myaccount_page_id’));
echo ‘<br>Contact Vendor: Login or Register to Contact Vendor‘;
}
}