• Hello, I am trying to add a Live Demo button to product pages so users can view demos of digital products before buying. I have never coded a PHP plugin before and my experience is limited to modifying existing templates. However if anyone can point me in the right direction I’m sure I can figure out out to put it together.

    First I would like to add a field in the admin page when adding a new product in Woocommerce, i.e.

    Price:
    Description:
    Live Demo URL:

    It doesn’t matter to me where or how this new field would be implemented, as long as it’s there somewhere.

    I’d like it so if a url is entered, a Live Demo button will appear on the product page, I’m assuming I’d have to insert some sort of if-function in the location where I’d want it to appear. This would need to be optional and only appear if there’s a value entered as some products would never need a live demo link.

    I would greatly appreciate any pointers, big or small!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jtsimmons

    (@jtsimmons)

    bump for last try..

    This is not mine, I’ve kind of implemented it. I think it’s what you are looking for. I have limited WP knowledge and none for programing so a bit stuck on this bit

    “Set the plug-in “Settings -> Woo Demo BTN” informing the attribute created in the previous step and will be used by the plugin.”

    I’m sure it me doing something wrong so will work. I used google translate for the instructions, so that might be half the issue.

    I hope you have better luck, if you get it to work can you post better instructions. Also I’m not sure if this can be used for multi vendor’s front end.

    Instructions

    Having the WooCommerce plugin running on your site.
    Installation:

    Installation is simple and works like all other plugins for WordPress:

    Download the file link below.
    Upload via FTP to the folder “/ wp-content / plugins /”.
    Go to the admin panel and activate the plugin.
    Create an attribute for products that will be used by the plugin as a link to the demonstration “Products -> Attributes”
    Set the plug-in “Settings -> Woo Demo BTN” informing the attribute created in the previous step and will be used by the plugin.

    From now on, every new product you register, you can set the attribute the link that will be used as “url” for the demonstration of the product.

    You can download from this link. scroll down to the footer, click on wordpress plugin
    http://www.fernandotellesdeveloper.com.br

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Wocommerce] Adding dynamic Live Demo button to products’ is closed to new replies.