Forum Replies Created
-
AuthorPosts
-
Stephen SherrardKeymaster
Hi Suzzane,
The plugin itself doesn’t allow you to create custom checkout pages for users. However, you can decide if a wholesale user needs to pay or not, so they can just submit an order (like a purchase order) without having to pay. You can also choose whether or not they are taxable and set up different tax rates for wholesale customers. You can also disable shipping calculations & coupons for wholesale customers as well. So, all those options will change the checkout process for wholesale customers.
Since there is a separate role for wholesale customers, you can create your own checkout page template and use some conditional statements to show different things to wholesale customers versus retail customers. Woocommerce is very flexible with their templates, and all you need to do is move a template to your theme’s woocommerce directory (with the appropriate subdirectories to match the woocommerce templates directory structure) and woocommerce will use your template instead of the built-in one.
You can also use the Role Based Payment/Shipping Methods plugin to choose different payment and shipping methods based on the user’s role:
http://www.woothemes.com/products/role-based-payment-shipping-methods/
I’m currently using that plugin for a client site we are developing and have create some simple payment gateways called “Quote” and “Purchase Order” that only appear for certain types of customers (based on roles).As far as phone support goes, this company is just me for right now, so I don’t have any kind of full time support staff. However, I’m happy to set up a time to talk to you on the phone if you need some custom work done or support for a purchase. Most support is done via email and the support forums, though.
February 9, 2015 at 11:11 PM in reply to: Additional Admin / Volunteer Fields Under Edit Tasks #2330Stephen SherrardKeymasterAwesome, glad that will work for you, as I’m swamped with some custom programming jobs and have no idea when/if I will be able to add additional features to these free plugins.
If you haven’t done so already, please feel free to rate/review the plugin on WordPress.org:
https://wordpress.org/support/view/plugin-reviews/pta-volunteer-sign-up-sheets
February 5, 2015 at 2:17 PM in reply to: Getting address information from volunteers using Customizer? #2265Stephen SherrardKeymasterThis content is restricted to buyers of:
Stephen SherrardKeymasterThis content is restricted to buyers of:
Stephen SherrardKeymasterThis content is restricted to buyers of:
Stephen SherrardKeymasterThis content is restricted to buyers of:
Stephen SherrardKeymasterThis content is restricted to buyers of:
Stephen SherrardKeymasterThe Phone field is now optional in version 1.7 released today. See the main settings page… there is a new checkbox that you can check to remove the phone field.
December 7, 2014 at 2:59 PM in reply to: Make sending emails and collecting phone numbers optional #1840Stephen SherrardKeymasterThe Phone field is now optional in version 1.7 released today. See the main settings page… there is a new checkbox that you can check to remove the phone field.
Stephen SherrardKeymasterFairly easy to edit the code to remove the field from the required fields check, if you don’t mind editing the PHP file. All you need to do is to totally delete line 91 of the class-pta_sus_public.php file, the line that reads:
|| empty($_POST[‘signup_phone’])That will make it not required.
To remove that field from the signup form, you need to remove the fields in two different locations further down in that same file. Signup form function starts on line 632 You’ll need to edit out the last paragraphs and text inputs on lines 682-685 and 705-708, making sure to leave the closing single quote and semicolon after the paragraph close tag in both locations.
That should work and shouldn’t mess up anything, although I haven’t tested it. Might want to save a backup copy of the file first. I did a quick look at where I save the signup into the database table, and it should still work without the phone field data.
Let me know if that works.
November 23, 2014 at 12:12 PM in reply to: Add a "class" to the headings above the contact form #1746Stephen SherrardKeymasterYou are correct as far as the headers on the contact form… I should have added some classes to those, or a wrapper div at least, with the last update… just super busy with projects here, so put that last update out quickly and didn’t look at the contact form function.
I’ll see if I can push out an update today with a div wrapper around that contact form, as well as some classes for those headings.
However, there are also filter hooks in place to allow other plugins or themes add content before and after the form (including before those headings are output). So, you could add a wrapper div of your own choosing around the contact form without modifying the plugin by adding a couple really simple hooks and functions to your theme’s functions.php file. This is all you would have to do to add your own div wrapper:
function ptamdcf_add_div_start($html, $id, $location) { return '<div class="ptamd_contact_form">'; } add_filter('pta_member_before_contact_form', 'ptamdcf_add_div_start', 10, 3); function ptamdcf_add_div_end($form_html, $id, $location) { return $form_html . '</div>'; } add_filter('pta_member_before_contact_form', 'ptamdcf_add_div_end', 10, 3);
Also, the nonce and referrer fields are necessary for security and best practices. Those are generated by the built-in wordpress function wp_nonce_field, and the location in my script is actually inside the form, but it looks like I didn’t set the optional third echo argument to false, so it’s echoing those fields before the rest of the form is returned. It still works fine that way, but I’ll change that in the new update.
- This reply was modified 10 years, 5 months ago by Stephen Sherrard.
Stephen SherrardKeymasterYou’re welcome. Closing this thread so I can keep track of things once this forum gets busier.
Stephen SherrardKeymasterThis content is restricted to buyers of:
Stephen SherrardKeymasterThis content is restricted to buyers of:
Stephen SherrardKeymasterThis content is restricted to buyers of:
-
AuthorPosts