Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default How to make Register beside PRICE in Product page?

    here is what I want to display in product page,
    If the client haven't login their account, request them to register or Login.
    it will show as below:



    I don't know how to make it happen. Also if this can be in the core would be very nice.

    Anyone who can help? Thanks!
    Attached Images Attached Images  

  2. #2
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: How to make Register beside PRICE in Product page

    What I want is when the client doesn't login, show [Login] [Register] instead of price. Once client logged in show the price only. do we have that option in Zencart ?

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How to make Register beside PRICE in Product page

    Did you peek at the settings in the Configuration ... Customer Details ...
    Customer Shop Status - View Shop and Prices
    Customer must be approved to shop
    0= Not required
    1= Must login to browse
    2= May browse but no prices unless logged in
    3= Showroom Only
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: How to make Register beside PRICE in Product page?

    OK, I think I didn't explained it clearly ! as I meant the same layout like the image above ..

    Price: [Login][Register]
    Availability: In Stock ....etc

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How to make Register beside PRICE in Product page?

    Currently, the function zen_get_products_display_price controls the Price display and the function zen_get_buy_now_button handles the buy now/add to cart ...

    You could customize either the functions or the tpl_product_display_info.php template using your templates and overrides to control what is displayed based on the current:
    $_SESSION['customer_id']

    when that is the value of 0, then the customer is not logged in ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v153 How to make Product Price Font Bigger?
    By wmorris in forum General Questions
    Replies: 5
    Last Post: 27 Nov 2014, 06:42 PM
  2. v151 How to wrap product description text beside and under image (Robbo Responsive Theme)
    By tgood31 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Oct 2013, 06:35 PM
  3. How can I make Product Model display in the main Product Information page?
    By ttmb33 in forum Customization from the Admin
    Replies: 1
    Last Post: 6 Dec 2009, 10:29 AM
  4. how to make a product page show as home page?
    By gnuzoo in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 3 Nov 2009, 08:38 PM
  5. How to make price appear on categories page
    By hodgejr in forum General Questions
    Replies: 1
    Last Post: 7 Oct 2007, 10:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg