Jamie Gill
Forum Replies Created
-
Forum: Plugins
In reply to: [Post Types Order] Menu OrderHi there,
Thanks for your reply and information much appreciated.
So the plugin will sort correctly if the WP_Query orderby is set to menu_order as this is what the query is currently sorting by I just wanted to check this could be done as other plugins I have tried do not change order when sorting by menu_order regardless of how they are set in the admin.
I looked at the docs and it seems to do this so it should work with the query I have in place. Do I have to create new lists from scratch and add in each post or can this be sorted by category in the plugin itself by selecting a category and dragging and dropping the post?
Thanks again.
JamieForum: Plugins
In reply to: [WC Duplicate Order] Doesn’t duplicate all order detailsHi Shaun,
Thanks for your comments i never even thought about deleted variations been duplicated thanks for the feedback here.
Yeah feel free to mail me theres is an email link in the foot of my site jamiegill.com which you can get to through the donate link.
Cheers
JForum: Plugins
In reply to: [WC Duplicate Order] Stock managementHi There,
I have added this into the plugin to replicate the orders stock reduction on order duplication. It is live in the repo now so you can download version 1.0.1 and give it a try.
Let me know how it goes 🙂
Cheers
JForum: Plugins
In reply to: [WC Duplicate Order] Choose Products to duplicateHi Tony,
OK sounds like a plan I may make this my next project, would you be interested in BETA testing it when I get round too it? If so fire me an email patchgill[at]hotmail.co.uk and I will be glad to discuss finer details when I have something put together.
Cheers
JForum: Plugins
In reply to: [WC Duplicate Order] Choose Products to duplicateHi Tony,
If you have a good understanding of PHP then it is just a case of learning all the hooks/filter that WP and other plugins use.
I have had a bit of a research tonight and I have an idea on how it could work. Underneath we can create a new metabox that displays all the products for the order with checkboxes and underneath a subject input and recipient input. Upon submitting we hook into Woocommerces email class so it has the exact same layout/style and just replace the item table with the selected items and it is emailed to the specified recipient with a custom subject. Upon successful submission it is then record underneath the meta box saying who it was delivered to and what items were emailed kind of like a log to look back on in the future so you can see 10x emails and what data was sent to who. I think this could be a good way of building this and would be useful to other users too.
Whats your thoughts on this?
Cheers
JForum: Plugins
In reply to: [WC Duplicate Order] Choose Products to duplicateHi Tony,
Yes certainly a good one to think about thats for sure and I don’t like to be beat either.
So if billing/shipping was to change then technically the only thing to duplicate would be certain products? Or would you select to duplicate the billing/shipping if needed?
I am just trying to foresee what is ultimately needed for the barebones. As I could look into on the order page selecting billing/shipping and then items you want to duplicate with a new Duplicate order button on in the order sidebar. This would then create the new sister order with selected info and hook into the Woocommerce order table to add in a new row highlighting the main order so it is easily identifiable from the main orders page. Then they can generate the usual Woocommerce order emails from the order using Woocommerces functionality.
Something to think of but one way I could see it working in BETA to begin with not sure how useful it would be. As is it easier to duplicate the existing order and as its duplicated now on-hold is it easer to just remove details you don’t need anyway?
Cheers
JForum: Plugins
In reply to: [WC Duplicate Order] Choose Products to duplicateHi Tony,
Sorry for the delay I have been a long project! Hmm I see the issue not sure if actually duplicating the order several times might be more time consuming and confusing in the future. Let me have a think on it as I may look at if it is possible within the order to select items and duplicate with selected items only.
I am just not sure if it would be more confusing especially if someone duplicates it 20x and has to go fishing through all the new orders to fire off emails and ideally they would want differentiating from other orders as they are technically ‘sister’ orders, as one order could end up taking up a full page of orders which does not seem easier or more manageable to me.
Ideally an email plugin would be better that would allow you to select products in the order and fire an order email too a specified email address, then record this in the Notes area. I think this would be way more efficient cleaner and easier to manage don’t you think?
Cheers
JamieForum: Plugins
In reply to: [WC Duplicate Order] Ability to duplicate then edit or addNo problem glad it has helped dude.
Forum: Plugins
In reply to: [WC Duplicate Order] Choose Products to duplicateHi Tambe,
Ah that is definately a worthy consideration. Out of interest what bits do they want to duplicate and exclude? And how do you see splitting out an order working?
I have an idea for exclusion of pre selecting in a settings area to duplicate billing/shipping/product data and whichever is ticked will be duplicated.
Splitting an order not quite sure how you see this working or an idea on how you see it working?
Your feedback would be great here so I can look at advancing this plugin.
Cheers
JForum: Plugins
In reply to: [WC Duplicate Order] Links do not appearThen I think this is down to another plugin or your theme that is breaking/removing this functionality in Woocommerce.
I suggest switching to a default theme and/or disabling plugins until they reappear to debug if it is a plugin or your theme and which plugin it is causing you this issue.
Hope this helps
JForum: Plugins
In reply to: [WC Duplicate Order] Links do not appearHi,
Hmm very strange and if you disable my plugin do the edit/trash hover links reappear on the orders without the duplicate button?
Cheers
JForum: Reviews
In reply to: [WC Duplicate Order] Works great!Hi Bassplayer,
Many thanks for your positive feedback it is greatly appreciated and glad it helped! Also great idea I will look into how I could implement this in the future.
J
Forum: Plugins
In reply to: [WC Duplicate Order] Links do not appearHi,
Sorry to hear you are having issues I have just tested this WP 4.6.1 and Woo 2.6.4 and all seems in working order here :-
http://pasteboard.co/e0iNzTRO2.png
The plugin only hooks into to add an order action so it would not stop them all displaying. Could another plugin/theme be stopping the edit/actions displaying on hover? Does the edit/actions still work on Pages and Posts page?
Hope this helps
JForum: Themes and Templates
In reply to: White space between Logo and MenuHi Santosh,
This is the line-height on your logo containing div. You need to alter this to close the whitespace between the logo and the menu. The css you need to add is :-
.site-branding .site-logo, .site-branding h1 {
line-height: 35px !!important;
}Cheers
J- This reply was modified 9 years, 7 months ago by Jamie Gill.
Forum: Plugins
In reply to: [WooCommerce] Duplicate orderI built something like this as a plugin for a client.
https://wordpress.org/plugins/wc-duplicate-order/
Hope this helps in the meantime