eli0086
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Display Previous Order DateHi Ewout,
I’ve been playing around with this code you provided. So far, I’ve been able to output all the dates from all the orders that the customer has placed in the past – I’m still working on being able to just display the last order.What I’m having trouble with is this bit of code:
$customer_email = get_post_meta($this->order->id,'_billing_email',true);When I input a specific customer email rather than pulling the email through the code, everything prints out fine. When I try to pull in the data with the above code, it just breaks the template and shows nothing. I’m definitely learning, so I know I’m not doing something right.
Not sure I’m supposed to leave my email on these forums, but I will try.
I can create the CSS, no problem. I’d like to see what you mean by the cart link merge code though.
Thanks!
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Display Previous Order DateThank you very much for your time! This will definitely get me started. I will post back what I figure out based on the code you’ve provided. This gives me a lot to work with.
You’ve done it again! Awesome! Worked perfectly without having to change anything!
I had to add in some css to get it looking right, as the <dt> element was still appearing on one line with the first product.
I simply added this code to the stylesheet:
dt.variation-ChooseyourFlavorsPleaseselectatotalof31bars {font-weight:bold;} dd.variation-ChooseyourFlavorsPleaseselectatotalof31bars:before { content:"\a"; white-space: pre; }And, since we have several subscriptions, ALL with different classes, I had to duplicate the code and replace the “ChooseyourFlavorsPleaseselectatotalof31bars” with the appropriate class.
I’m going to make sure the people who are using this plugin are able to reuse that snippet for there invoices/packing slips, so I’m going to post this snippet on the help forums for the TM Extra Product Options. You’ve helped way more than just one person!
Thank you so much!
Hi Ewout, Thanks for the suggestion!
Unfortunately, this is how the data is being displayed in html format (no HTML tags – just all one <p> tag wrapping that information. Is there a way to add in tags for that somehow?Here’s the output:
<span class="item-name">Founder's Club 31 Bar Flavor Selector</span> <span class="item-meta"><dl class="variation"> <dt class="variation-ChooseyourFlavorsPleaseselectatotalof31bars">Choose your Flavors! (Please select a total of 31 bars):</dt> <dd class="variation-ChooseyourFlavorsPleaseselectatotalof31bars"> <p>Almond Mocha Crunch x 6,Chocolate Praline x 6,Chocolate Squared x 6,ChocoNut x 6,Espresso x 5,THE PRIMAL: ChunkyChoco Walnut,THE PRIMAL: Coconut Rage</p> </dd> </dl></span>Hi Ewout,
That worked perfectly!I can’t really test a product that is not set to be hidden in the templates because it would mean having to set up a whole new product and place a test order, but it’s definitely working for products that are supposed to be hidden in template.
If there’s anything I can provide for you to be able to test it thoroughly, I’m more than willing to help. As far as I can tell, though, you could add it to the plugin.
Thank you so much, and I appreciate the quick response to this!
Forum: Fixing WordPress
In reply to: Fatal Error on wp-settings and links-template?I’ve been having the same problem…it’s happened 3 times. I’ve completely replaced all plugins, themes, added extra security to the site etc, but the file keeps getting changed regardless of what I do. I’m hoping to hear back from chariottehyland and furrykef to see how things go for you and if you find the issue causing this problem!
Forum: Fixing WordPress
In reply to: link-template.php.suspected?I had the same problem almost exactly. There is a line in the wp-settings.php file (in the main folder of your blog) that is being altered. I also had that same file inserted into my wp-includes folder (template-link-suspected).
I was able to upload a fresh copy of WordPress (all files except your wp-content folder!!), which overwrote this file, and fortunately everything came back just fine.
This happened twice to me, and twice I was able to get everything back just fine, so don’t worry!
Luckily, I have ithemes security installed, so I was able to look through the logs and identify the IP address of the person/hacker that was possibly responsible for the hack and I blocked them from accessing the site through my .htaccess file. (The hacker IP: 94.131.14.100)
If in doubt, the first step is always to install a fresh copy of wordpress. Then go through the WordPress docs to help secure your site again https://codex.wordpress.org/FAQ_My_site_was_hacked
Make sure you replace all your plugins with fresh copies as well, and go through them and research whether or not they are well written plugins. I’m still going through that process, since it’s hard to pinpoint.
You may also want to run a scan with Wordfence (https://wordpress.org/plugins/wordfence/) after you get everything back up to make sure you don’t have other issues in other parts of your wordpress install.
FYI – Installed most recent update (1.7.3.3) and the problem is fixed.
I’m having the same issue as laszlo69, and I use the SEO plugin for the entire site, not just the products, so I need to be able to have everything functioning properly regardless of whether or not I’m using Woocommerce.
This error just recently started happening with recent updates. The woocommerce product shortcode does not play nicely with the SEO plugin. I’m getting a slightly different error, but same file:
Fatal error: Call to undefined function woocommerce_product_loop_start() in wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php on line 463.Deactivating SEO plugin seems to be the only solution through wordpress dashboard. Does anyone have any ideas on how to troubleshoot this?
Forum: Plugins
In reply to: [Advanced Featured Post Widget] No Post by ID option?It’s a great feature that isn’t offered amongst other plugins properly, if at all. The option on the featured posts plugin is a wonderful thing. Great job on that. If it can ever be introduced into the advanced version, it would be greatly appreciated. Awesome plugins all around. Gonna stick to the regular version because of that for now. Thanks for the reply!
Forum: Fixing WordPress
In reply to: Elements won't resize on dashboardOk, well I found a solution. Probably not the best solution, but it worked. Using Firebug, I found that somehow in the css, it had set the content editor at 5000px in height. So, I added my own css to counteract that setting by targeting the editor in the wp-includes/css/editor.min.css file.
I added the following code:
#wp-content-editor-container.wp-editor-container textarea#content.wp-editor-area{ height:350px !important; }Editor is forced back to normal!
Forum: Plugins
In reply to: [Clone] Unable to get WP Clone to work since 2.14 releaseJust in case anyone is still trying to find a solution to this, I’m posting this because boricua21’s solution didn’t work for me. Or at least I didn’t understand it, so if this is a repeat of the same info, I apologize.
I was trying to set up a testing site so I could develop on the server in a sub folder, as well as have the site live…
I kept getting the same type of error:
Temporary files created in /home/public_html/Hotel/wp-content/wpclone-temp will be deleted.”This is what I did to fix it:
1. Create a backup in the existing (Live) site.
2. Download the created .zip file to computer (I did this through FTP because I got Internal Service Errors when trying to go directly to the URL). This can be found in http://www.sitename.com/wp-content/uploads/wp-clone.
3. Now take .zip file and upload it to the “testing” site or subfolder site in the same location. (www.sitename.com/subfolder/wp-content/uploads/wp-clone)
4. Go to testing site and select “Restore from URL” under WP-Clone options. Input the ORIGINAL URL from the live site.For whatever reason, this is the only thing that worked for me. I tried a lot of different solutions – hopefully this will help some people if for some reason other solutions don’t work.
Good luck!Forum: Fixing WordPress
In reply to: Elements won't resize on dashboardI am still not able to get the box back to normal size. I have tried different browsers, clearing cache and cookies, and even tried a completely different computer with a different browser. Unfortunately, it still is about 10 times longer than it should be on the page.
Forum: Fixing WordPress
In reply to: Elements won't resize on dashboardWordPress 3.5.2.
It’s only happening in this site’s dashboard.
I tried logging into another wordpress site, and it’s totally normal there.
I also tried updating a couple plugins that are out of date to see if that would help, but it didn’t.