Woocommerce default emails design not working - php

I have enabled all emails from admin end woocommerce, but when I submit order the design of the email is not working I mean it's not showing the original default woocommerce emails design it's showing something like paragraphs I have tried to customizations but nothing happens. please guide me where I am making mistakes the email screenshot given below:
Even where from its coming, I have tried to find but no solution gets. I have tried emails customizations, templetes plugins as well nothing going to work. Also, my woocommerce plugin is the latest as well. Please suggest me.
Thanks

Related

WordPress Product Add-Ons Plugin Not Showing on Frontend

I posted this on the WordPress Stack Exchange yesterday and I am crossposting it here as we are desperate for help.
The agency I work for purchased the Product Add-Ons plugin from WooThemes a few days ago for use on a client's website.
Upon installing and activating the plugin, I cannot get it to display on the product pages.
The plugin works in terms of adding the Add-Ons in the backend, however I am unable to get it to display in the frontend.
I have added different tiers to the Add-Ons, for testing purposes, however that has delivered no successful results.
I have been trying to rectify the issue, however I have had no such luck. I have read through the documentation, however I still cannot seem to rectify the problem.
Epson WorkForce DS-30 Add-On Information Screenshot: http://i.imgur.com/3xVSpYE.jpg
Epson WorkForce DS-30 Product page Screenshot: http://i.imgur.com/Sc9dCE3.jpg
I have since populated all applicable products with the add-on information, and the product pages are still coming up without them (see screenshots above).
I have contacted WooThemes directly, and as of yet have had no response. As far as I am aware, it has not been forwarded onto a specialist ninja as of yet and the client is getting rather impatient with the website not going live, and frankly I don't blame them. Unfortunately, I don't seem to be able to rectify the issue so I hand over to you.
I would appreciate any help you guys could provide.
EDIT: I have now had a response from WooThemes, and the response I got was that it was a theme issue. I have since contacted Themify about their ShopDock theme and I will keep this updated for anybody else who may be experiencing the same/similar issues.
Just Add the following short code in your code.
Or add via Elementor.
[yith_wapo_show_options]
Reference:

WordPress WooCommerce emails preview

I'm trying to style WordPress WooCommerce emails, but except for the "default" template I cannot find a preview button...
I can't create an order every time that I'll change something, do you know any way to preview all the different types of emails? like customer-completed-order or customer-invoice?
Thanks in advance.
I found a solution here:
http://enru.co.uk/2014/02/17/testing-woocommerce-emails/
In case someone else has the same issue, this works great.

Wordpress comments security

The comments section of the wordpress accepts anything that the user write without filtering the content of it for any malicious entry. I checked this by adding a javascript comment as a comment to my site. Please see the below two points regarding this issue.
1) I have setup my Wordpress site to show comments when the admin approves them. Therefore at the moment any user from the outside will not see any spam comments which I haven't been approved. However, these spam comments are appears when I login as an admin and view the site. Can I block unapproved comments on my posts when I login and view the site as an admin?
2) Are there any technical solutions for this issue? I am using "All-in-one-security&firewall" plugin and "Wordfence" plugin in my blog. It looks like these plugins are not protecting my site from commnts. Are there any free plugin that I can use to stop this thing happening again?
You can always mark comments as spam in the comments section of your wordpress backend.
Also, like some suggested, it's possible to install a plugin that takes care of comments right away, so they will be put in the spam section automatically. Here are two plugins that worked fine for me and are free to use, that you could try:
https://wordpress.org/plugins/invisible-captcha/
https://wordpress.org/plugins/antispam-bee/

Magento Success Page Reverts to Default Theme

We recently added a new extension to our site that adds multiple serial codes to a product (http://www.modifymage.com/instructions/serial-codes). Everything works great except when you try to purchase one of the items. It gives you a success page that uses the default theme.
Everything appears to be setup correctly in terms of the backend. I’ve already contacted the creator but I doubt they’ll provide any support.
Also, when I view source it says its referencing the right theme but when “Inspect Element” it tells me its using the default theme.
Any ideas? I’m thinking its a template issue but the success page uses the custom theme’s CSS.
This is very unlikely to have anything to do with our extension. Our extension does not interact in any way with the front end themes.
In the Admin Panel, please first go to:
System > Configuration > General > Design
And check the settings under the Package and Themes sections. Please see this forum post for an example that presents itself exactly like the problem you are experiencing and how it was fixed:
http://www.magentocommerce.com/boards/viewthread/281457/
If that is all set up correctly, next try disabling the output of our extension and see if the problem goes away. You can do that here:
System > Configuration > Advanced > Disable Module Output
Disable Mmsmods_Serialcodes. If this doesn't fix the problem, make sure the design file template/checkout/success.phtml is located in your design theme folder.
I hope that helps. If you are still having problems, or if you have any additional questions or concerns, please notify our support department once again.

Wordpress not registering custom options from options.php page

Frustrated SO regular here:
I'm creating a theme-options.php page for a child theme in Wordpress. Here's the code. The page renders correctly, including: Adding the page link to the correct admin menu, creating and displaying the options page. When I click save, however, it takes me to a 500 (internal server error page).
Using the 'adminer' plugin (phpmyadmin) I have looked at the wp_options table, and there are none of the custome settings/fields that I have specified. My best guess at the problem is that the settings aren't registering properly so when I post the form to options.php it responds with an error because it doesn't expect those form fields.
I've been wracking my brain around this code for a few days now, and am wondering if someone else can take a look at it for me? I would really appreciate a few extra eyes...
Some resources I have tried:
http://ottopress.com/2009/wordpress-settings-api-tutorial/
http://themeshaper.com/2010/06/03/sample-theme-options/
http://codex.wordpress.org/Function_Reference/add_settings_section
My settings are not saving in wordpress theme options page (his settings appear empty in db. mine don't appear at all)
Oh crud,
It dawned on me after I spent an hour figuring it out that Richard M had given you the answer.
I created a new paste of your code, cleaned up some: http://pastebin.com/enUa3xme
I fixed the issue and also added the function add_my_options() and removed the is_admin() wrapper around your admin action hooks since they will only be triggered in the admin area, so they are unnecessary.
I needed to learn this since I use a half-way-done implementation of this, so even if it isn't helpful to you, it was worth learning...

Categories