abcprinting
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Do Not Populate Shipping When Ship To Different AddressI have to agree with Spyder here. I get what you’re saying about the fields being populated, it would work just fine really but it’s that checkbox that confuses people. People are trained to check a box to ship to billing address, not to uncheck a box. I know the outcome is the same but I agree, the logic just isn’t there.
There was a post made on github awhile back regarding this. I agree with the illustration he made.
https://github.com/woothemes/woocommerce/issues/2571The shipping form shows up (populated or unpopulated both would work) and the checkbox says “ship to billing address?” which would make the form disappear when checked.
Forum: Plugins
In reply to: [WooCommerce] Do Not Populate Shipping When Ship To Different AddressI might be running into the same issue. I have a client who does not want the customer’s info showing up in the fields when they “ship to a different address”. He doesn’t like that they have to clear out data that they are going to be changing anyway.
Forum: Plugins
In reply to: [Gravity PDF] Not creating file on Windows ServerUnfortunately I don’t have direct access to the server but the guy who set it up says that he is positive that path is correct. What’s also strange is that there are no error logs on the server saying that WordPress tried accessing a file that didn’t exist or access denied or anything.
Forum: Plugins
In reply to: [Gravity PDF] HTTPS TransferMaybe I’m not understanding. I’m testing this out on our webserver which is hosted on Host Gator and doesn’t need authorization. This is thr string I’m using:
function gfpdfe_post_pdf_save($form_id, $lead_id, $arguments, $filename)
{
/*
* This hook is useful if you want to move the PDFs to a new location
*/
$pdf_name = basename($filename);if($form_id == 13)
{
/* Use the $form title in the URL
* Depending on what name you use and your server OS, this might need parsing the form name further to remove invalid folder characters
*/
$form = RGFormsModel::get_form_meta($form_id);
$form_title = $form[‘Personal Information’];/* this assumes the directory already exists */
copy($filename, ‘/home/forms/public_html/pdfs/’ . $form_title. ‘/’ . $pdf_name);
}
}add_action(‘gfpdf_post_pdf_save’, ‘gfpdfe_post_pdf_save’, 10, 4);
but nothing ends up in the pdfs folder. Am I doing something wrong?
Forum: Plugins
In reply to: [Gravity PDF] HTTPS TransferThanks for the tip. That definitly looks like what I need but my server requires a username and password to access. How would I implement that into the code?
Forum: Plugins
In reply to: [Gravity PDF] HTTPS TransferThank you for your reply. I would like to transfer the PDF to another server once generated.