I am using the person template for a contact page not a contact form and the template is 3 people wide which is causing a word wrap to happen on the first persons information, I am not sure where to edit the code to remove the second and third person from this and also add extra lines of information to display for the clients contact info, any help would be appreciated.
Related
I wanted to create Additional WooCommerce Custom Fields that I can display on my Archive Page and Single Product Page.
So I followed this Tutorial— ( https://www.cloudways.com/blog/add-custom-product-fields-woocommerce) — and this— https://www.youtube.com/watch?v=yTDE6pJjOKs —– and this —- (https://wpsimplehacks.com/how-to-create-custom-fields-in-wordpress)
But these Tutorials are too complex. I have been able to follow them and get my Custom Field on my Backend as you can see here— (https://prnt.sc/VzBQDq-jp0PY)
The challenge I’m facing now is that I’ve not been able to translate that Data to show on the Frontend. I’ve been struggling with it for 6 Days now.
The thing is that I did get the Data to show on the Frontend through this (https://www.youtube.com/watch?v=yTDE6pJjOKs) —– and this —- (https://wpsimplehacks.com/how-to-create-custom-fields-in-wordpress) ——- but it scattered the entire Page Layout.
Now, I couldn’t tell what part of the code is causing that conflict.
What I am asking for now, is someone that can help me make sense of the Codes here-- (https://www.cloudways.com/blog/add-custom-product-fields-woocommerce/)
Then create it for only Text Field, and show how to output it on the frontend, on the Single Product Page to look like this-- https://prnt.sc/6W_S1w1BQlRc
Regards.
I'm new here and was directed to try this forum for my quandary with WooCommerce.
I’ve created downloadable products that are free. – I’m using Storefront WooCommerce Theme for WordPress.
– Before the download is available I would like the users information ie: email, name. I’m using the checkout page (place order) for this and bypassing the cart. So instead of collecting payment I’m collecting contact info. I have customized that page and buttons to only gather the information required for download.
– Once they enter the information they are able to download the file, but only from a different page (another click). I’d like download to automatically download on the place order button click.(I've changed the text to read: download specifications)
In summary:
– I would like to have the file download automatically without the place order summary page more of a thank you for your interest page.
Any suggestions would be much appreciated. Thank you again for any help you can give me.
I'm not sure why the negative votes, I thought this was a place to share and find answers.
I did a work-around which works for now. I may revisit this later. There are still 3 clicks but the flow is a lot nicer.
• I copied the woo thank you php check out template to my child theme and made some custom changes to eliminate the extra order information
• changed button title for smoother flow while still gather the user information in my order information.
• I can trim the template even more but that will take a while because the download function is attached to the order table which is actually the information I want to record.
• Then, I thought about attaching a form to the button at the single product page to capture the user info but that opens another can of worms in record keeping since it won’t populate the order table.
What I wanted to do requires lots of heavy lifting which will take some time for me to figure. If I come up with the answer to my original question I will share with the forum.
The thing is I have a WordPress page with a number of trips, and each trip has inserted a specific contact form (because it varies depending on dates, accommodations, etc.). The plugin used is “Contact Form 7”.
Now we want to give the option to book directly, which also involves providing details of the travelers (age, date of birth, etc.). I mean, through a button in the contact form, he would be directed to another page only with the form and with the same options as the first one but also adding the boxes to enter information for each traveler.
The first objective is not having to duplicate all the forms with the “booking version”, which is something I have achieved through the “Contact Form 7 Conditional Fields” plugin; all the information about the number of travelers is already included in the original contact form, but not shown if one of the fields is not filled with the text “Book the tour”. Then when you click on “I want to book the trip” it sends you to another page with the same form but which this text included, so It unhide the rest of the fields, using url parameters:
Trip-booking/?Header=Book%20the%trip
Now comes the second problem that I know not how to solve. The only content in the “book page” is a simple shortcode text, like this:
[Contact-form-7 id = “001” title = “Journey 1”]
So I have to make a page for each form, which is irritated.
My question is if there’s any way to “rewrite” the content dynamically via parameters url, so that if I put in the link this:
Trip-booking/?Header=Book%20the%trip?form=001
The page would have this code:
[Contact-form-7 id = “001”]
And if I type this another url for example:
Trip-booking/?Header=Book%20the%trip?form=002
The page would have this code:
[Contact-form-7 id = “002”]
So I have no idea of how to formalize it to avoid creating a specific page for each shortcode.
Obviously I’m open to any suggestions.
You can grab the formID from the URL and call do_shortcode.
$formId = $_GET['form'];
do_shortcode('[Contact-form-7 id="'.$formId.'"]');
https://developer.wordpress.org/reference/functions/do_shortcode/
I am probably asking a noob question... however:
I have a Drupal site that the customer has a web form where anonymous users can fill in to order some posters (there is 3 to choose from). These are free and at the moment they user just states in the body of a textarea what posters they want.
The site owner wants to now add more posters and now wants the ability to have each poster listed in the web form with a field for quantity next to them.
When the web for is submitted it will post the node title and quantity to the web form along with the required information.
I have researched using UC but it's too much of a eCom solution for such a simple requirement. I also looked at SimpleCart, Flag and Session favorites, all of which aren't really what I need.
So I am looking for a simple way to itterate over all the "Poster" content types, and display them on the webform page with a quantity numerical field to be submitted with the web form for each poster.
Currently I have:
CCK Poster
Title
Image
WebForm OrderPoster
Name
Email
Address
Details
What I am looking for is a page that does the following:
WebForm OrderPosters:
Poster 1 [form qty text input for poster 1]
Poster 2 [form qty text input for poster 2]
Poster 3 [form qty text input for poster 3]
...
Poster n [form qty text input for posters n]
Name
Email
Address
Details
I'd imagine there is a simple way to do this, but I can't seem to find articles of customizing "WebForm" forms. Any help would be much appreciated.
I don't know of any way to programmatically add components to a webform. I've used them a lot in my sites, but if you are going to do something like what you said you have to go the custom module route. If you did want to keep the webform you could program your own form component to do exactly what you want, but docs are scarce for that too. I would start by looking at some of the built-in components to get an idea of what needs to be done and then make my own.
Personally I would implement a custom module to do this. You would need to use hook_menu() and then create a callback to build this form. While building the form you could easily loop through the available posters and create the form elements. The submit function would then save to a database table and if needed, it could also post to a payment gateway when your customer wants people to pay for the posters.
i want to add some extra field in my registration form in wordpress site how to add it.and made entry in database.
hope some one help me.thanks
I have used the plugin 'Cimy User extra fields' on several clients' sites and found that it does the job very well.
Last installed on a site within the last couple of months, so Wordpress 3 support is fine.