Splitterside
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form Submissions] Collecting attachmentsHey Jason,
Looking at possibly using your plugin today and saw this post. Another option would be to have the plugin prepend an ID of some sort to the attached file’s name so that there would be no conflicts. This would eliminate the possibility of a duplicate file conflict.
Just my ¢¢. Hope this helps.
Thanks for making a helpful plugin.
-AdamShouldn’t the new items that are created have the correct value as well? When I run the import that way, new items are added, but what if I don’t want existing items to be updated? The new items should at least have the correct stock value that was set in the import file.
Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] Blank page in Settings > AkismetGetting the same issue and WPNI’s fix did not work for me.
Forum: Plugins
In reply to: Email Template Remove SKUHere is the solution I found that worked for me.
Disable e-mail order items table from e-mail template and copy the function as a custom function into your theme.
<tbody> <?php //echo $order->email_order_items_table( $order->is_download_permitted(), true, ($order->status=='processing') ? true : false ); echo custom_order_table($order); ?> </tbody>
So your custom function will look like:
function custom_order_table($order) { foreach($order->get_items() as $item) : $_product = $order->get_product_from_item( $item ); $file = $variation = $image = ''; if ($show_image) : $src = wp_get_attachment_image_src( get_post_thumbnail_id( $_product->id ), 'thumbnail'); $image = apply_filters('woocommerce_order_product_image', '<img src="'.$src[0].'" alt="Product Image" height="'.$image_size[1].'" width="'.$image_size[0].'" style="vertical-align:middle; margin-right: 10px;" />', $_product); endif; $return .= '<tr> <td style="text-align:left; vertical-align:middle; border: 1px solid #eee;">'. $image . apply_filters('woocommerce_order_product_title', $item['name'], $_product) . $file . $variation . '</td> <td style="text-align:left; vertical-align:middle; border: 1px solid #eee;">'.$item['qty'].'</td>'; $return .= '<td style="text-align:left; vertical-align:middle; border: 1px solid #eee;">'; if ( $order->display_cart_ex_tax || !$order->prices_include_tax ) : $ex_tax_label = ( $order->prices_include_tax ) ? 1 : 0; $return .= woocommerce_price( $order->get_line_subtotal( $item ), array('ex_tax_label' => $ex_tax_label )); else : $return .= woocommerce_price( $order->get_line_subtotal( $item, true ) ); endif; $return .= '</td></tr>'; // Show any purchase notes if ($show_purchase_note) : if ($purchase_note = get_post_meta( $_product->id, '_purchase_note', true)) : $return .= '<tr><td colspan="3" style="text-align:left; vertical-align:middle; border: 1px solid #eee;">' . apply_filters('the_content', $purchase_note) . '</td></tr>'; endif; endif; endforeach; echo $return; }
This is a modified version from here.
Forum: Plugins
In reply to: Email Template Remove SKUI am also trying to figure this one out. Will post if I find a solution.
Looks like the Yahoo APIs are down. Even accessing the Smush.it website stalls till timeout.
Have tried using the update on my sites using the Mingle Theme: https://themeforest.net/item/mingle-multipurpose-wordpress-theme/235056
This seems to break the css of the website itself.
Will have to hold off with the update until this gets fixed. Some pre-launch testing really goes a long way guys.