• Resolved mtik

    (@mtik)


    Hello!
    This is my first post and sorry if I am posting in wrong section.
    I need a help. I have a wordpress site with WP e-Commerce plugin and I want to hide the product price and checkout option from unregistered users.

    Only register users who are logged in can view the the price and checkout option for each product. I am using a premium template for my site.

    Please help me, how can I do this? Do I need to manipulate some php files of the plugin or theme or wordpress!

    Thanks in advance! (:

Viewing 15 replies - 1 through 15 (of 20 total)
  • hi,
    its so simple… just go to the admin tab from settings link (if you are using old version of plugin) for new version go to store then click checkout tab…. select “yes” for Users must register before checking out:.. here you go its done…

    Regards.

    Thread Starter mtik

    (@mtik)

    Hi,

    Thanks for the help!

    Actually, I solved this manually by editing the wpsc-products_page.php and wpsc-single_product.php using <?php if ( is_user_logged_in() ) : ?>.

    Thanks again for replying!

    Dear mtik

    I have the same question. I am using WP e-Commerce on Word Press and I’d like users to register in order to see prices and then check out.

    How can I do that. I am a bit new on this and can’t get it right.

    It would be great if you could help.

    my web page is https://www.nutrifit24.com

    Thanks a million in advance.

    Thread Starter mtik

    (@mtik)

    Hello there!

    If you want the same thing I wanted to do then the solve is already mentioned above. Please, edit those two files manually and use the wp user logged in function. That will work! ??

    Thanks,
    Tanweer K.

    @info@nutrifit24.com

    Hello .. I should also hide the price to the visitors of my site and I would like to use the system [email protected] of your site (https://www.nutrifit24.com). I kindly ask you to tell me how to insert php code in two pages (wpsc-products_page.php and wpsc-single_product.php).

    Of course, in your reply Best regards

    Luca

    Hi Luca,

    I downloaded a plugin that can hide the price. If you are using WordPress with e-commerce, here is the plugin that you will need.
    https://www.woothemes.com/products/catalog-visibility-options/

    Regards,

    Jan

    Thread Starter mtik

    (@mtik)

    Thanks Jan for sharing.

    And Luca, use the code: <?php if ( is_user_logged_in() ); ?> just before the price. This function checks whether the user is logged in or not.

    Thanks,
    Tanweer K.

    thanks [email protected] even if the plugin is payment …. but I think I’ll try it .

    mtik:
    sorry but would you tell me what is the exact line on which to place: <?php if ( is_user_logged_in() ); ?> ???

    thanks

    Thread Starter mtik

    (@mtik)

    Please, forward the two php files and i’ll edit them.

    Thanks,
    Tanweer K.

    Use wordpress, wp e-commerce and “Bravo” theme (mojo-themes)
    this is the link to the second file :https://www.bazarbonino.com/upload/theme.zip.
    I edited to see where you enter the code, so I can change it in the future I

    Thanks in advance

    sorry … some news?? (Attached files above are the subject of WPEC not those of the theme that I have paid)

    Thanks in advance

    News ????? 2 weeks for you reply ??

    Thanks…

    Thread Starter mtik

    (@mtik)

    Oops! Sorry!
    Actually, i’m a freelancer and was extremely busy anyways, i’ll download that zip and will forward you shortly.

    Thanks for waiting!

    Regards,
    Tanweer K.

    Thanks Tanveer K.
    anxiously await the answer …

    Thanks luckid

    Thread Starter mtik

    (@mtik)

    Okay, i’ve uploaded at: https://express.us.to/theme-modified.zip
    i hope wordpress hasn’t changed their logged_in function

    Regards,
    Tanweer K.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Plugin: WP e-Commerce | Hide Price and Checkout from Unregistered Users’ is closed to new replies.