plzshareme
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPoints] Award Points For Woocommerce Purchase & Coupon Codeyes could I create a coupon code and give it to people so they can get awarded free points?
Forum: Plugins
In reply to: [DreamSpeed CDN (RETIRED)] image uploading fine but not showing on front endi see on the plugin home i need to run a command
wp search-replace objects.dreamhost.com objects-us-west-1.dream.io
. do i need to do this every time i upload a file, or just once? also, how do i do this (where do i go) once i’m logged into dreamhost?if i then delete it from the install on a monthly basis after they’ve been copied, will it also automatically remove it from the cdn? (so i don’t max out my install)
Forum: Plugins
In reply to: [WooCommerce] add line breaks at customer details on thank you pagethanks caleb. which file is listing this info. i checked the thank-you page but it’s not showing up there?
Forum: Plugins
In reply to: [Checkout Field Manager (Checkout Manager) for WooCommerce] Invalid AddressThis error refers to woocomerce settings. i found the culprate. When i updated to 4.6, the email field in my woocommerce settings was changed. When i fixed the email, the SMTP email woo was using to send the confirmation checked out and the checkout was able to finalize.
thanks ewout. that did it. are you available for custom configurations?
Ewout, one more question on this:
I now need to switch my if statement to look for
$wpo_wcpdf->custom_field[‘myfield7’] instead of $this->order->billing_statemy statement looks like this but it’s not resolving. can you see what’s wrong here?
if ($this->order->custom_field['myfield7'] == 'ny' && $item['sku'] == 'ny01'): echo '<table class="page1">';
awesome, so here’s how i got it to work.
I had to add above my “php if” statements this from the standard invoice template:
<?php $items = $wpo_wcpdf->get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item_id => $item ) : ?> <?php do_action( 'wpo_wcpdf_before_item_meta', $wpo_wcpdf->export->template_type, $item, $wpo_wcpdf->export->order ); ?>
then immediately after i look up if the state is ‘one thing’ and the sku is ‘another thing’ then run this div class:
<?php if ($this->order->billing_state == 'ny' && $item['sku'] == 'ny01'): echo '<table class="page1">'; elseif (): endif; ?><?php endforeach; endif; ?>
Thank you Ewout for helping me with the logic & flow
ah one more thing. i need to also check that the sku is a certain thing. how should that if statement look?
<?php if ($this->order->billing_state == ‘NY’ && $item[sku] == ‘ny01’): ?>
echo ‘<table class=”pageny”>’;
<?php endif ?>Thank you Ewout! the last scenario did the trick
i just added an elseif after the first if statement for each state i needed to define and it works great!
Forum: Plugins
In reply to: [Name Directory] Allow for chinese characters in form fieldsthe front and the backend name fields need this
Forum: Reviews
In reply to: [PlzShareMe URL Shortener & Viral Booster] Great for building an audiencethanks watchthepix!
Forum: Fixing WordPress
In reply to: How to Sanitizethanks sarah!
Forum: Plugins
In reply to: [PlzShareMe URL Shortener & Viral Booster] backlog of poststhanks datnovaguy! it’s off to a good start for only being a few days old. the easiest way now is to go back into any posts you want promoted and shortened and “Update” it (hit the “Update” button). It will then create the shortlink and be promoted on the PlzShare.Me social channels.
the next update of this plugin i’m working on will allow you to update the shortened link of published posts you have prior to installing this plugin, as well as shortening Pages.