Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #8757

    Hello support-kings!

    I have found in this topic: (Purchase code hidden if logged out) -product-page

    that it is possible to have the price shown on the product page. Do not know if it works though(?). I have both a product page and the webshop, but would like to give the customers the possibility to ‘Add to basket’ from both pages.

    How is this done?







    please elaborate – which function doesn’t work for you? As far as I know the

    echo $product->get_price_html();

    function is compatible with WooCommerce 1.4.x.


    Where is this function placed? (custom.css?)

    The function you mention only show the price on the prodduct page, right? In addition to this I would like to add an ‘add to basket’ function on the product page as well. So the customers are allowed to buy from both the product page and the webshop.



    Just to be sure – are you using the latest version of flashlight? The reason is that the latest version (1.5.1) and woocommerce 1.4.x offer the “add to cart” button on all pages. E.g. see the demo: (shop archive page) and (single product page without “variations”) or (single product page with “variations”). Please install the latest version and see if it works for you before we start to “hack” anything :)


    I am running wp 3.3.1, Flashlight 1.4 and woocommerce 1.3.2 – if I update it is not going to mess with the website right?

    Thanks for the support!


    No – the update won’t break anything :) – just replace the old files with the new ones.


    I have similar issues. I’ve downloaded the latest version- 1.5.1 of Flashlight. When I try to upload to WordPress, it fails. Said folder already installed. How do I replace it?



    you’ll have to access your FTP server and remove the folder, then reupload it. If you have trouble with this I’m sure your host will help you :)

    Best regards,


Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Buy directly from product page (as if it were the websh)’ is closed to new replies.