Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Download product using php script/code

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Download product using php script/code

Tagged: css, Download, free product download, PHP, products, squeeze form, widget

  • This topic has 7 replies, 3 voices, and was last updated 10 years, 6 months ago by camden.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • September 23, 2012 at 12:48 pm #7463
    camden
    Member

    Hi

    I would like to be able to add a downloadable product to a widget, product is integrated with MailChimp. I have the Executable php widget, but wanted to know how I can specify download a certain product using php script as oppose to shortcode. Can it be done?

    Thanks in advance.

    September 23, 2012 at 9:03 pm #49629
    wzp
    Moderator

    Have you looked at the PHP functions in this list?

    http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460

    Here is a link to the PDF file with the list:

    http://www.tipsandtricks-hq.com/ecommerce/wp-content/uploads/wp-estore-shortcodes.pdf

    Perhaps the php echo eStore_show_download_now_button($product_id) function is what you are looking for?

    September 24, 2012 at 7:54 am #49630
    camden
    Member

    Hi

    Yes I did have a look at the list, it does not list the the download product display I am after. I would like the user to be able to download a free pdf, after they have submitted a name and email (which is integrated with MailChimp).

    Thanks for getting back to me though :-)

    September 24, 2012 at 7:58 am #49631
    camden
    Member

    Here is a test page link with the type of product display I mean, if it helps.

    [http://creativehandsmarketing.com/test/]

    September 24, 2012 at 11:04 pm #49632
    admin
    Keymaster

    I think you are referring to the squeeze form. You can use the following PHP code to place a squeeze form anywhere in your template file (1 is the product ID in this example):

    <?php echo eStore_free_download_form("1"); ?>

    September 25, 2012 at 8:37 am #49633
    camden
    Member

    Brilliant that is the one, many thanks. Now to continue to be a pain, is there any way I can edit the php/css so the input boxes and button run horizontally as oppose to vertically, this is due to space available in the header and not wanting to make it any deeper.

    Thanks :-)

    September 25, 2012 at 11:40 pm #49634
    admin
    Keymaster

    Let me know if this post helps:

    https://support.tipsandtricks-hq.com/forums/topic/estore-changing-layout-of-squeeze-page-form

    September 26, 2012 at 8:16 am #49635
    camden
    Member

    All sorted, thanks very much for your help and Patience!

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • WP PDF Stamper Documentation
  • WP Photo Seller Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial
  • WP Photo Seller Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ