Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2008
    Location
    QLD - Aussie
    Posts
    192
    Plugin Contributions
    0

    Default Turning off price in sideboxes

    Hi all

    I'd like to turn off the prices display in the sideboxes (eg/ "New Products" box) Is this possible?

    Has the "display product price/add to cart" area via configuration (in Admin) have any bearing? If so - I don't understand the value system...(defaulted to 3 on mine)

    Many many thanks to everyone - I have learnt soooooo much (and so much yet to learn

    Many thanks

    Green333

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,718
    Plugin Contributions
    6

    Default Re: Turning off price in sideboxes

    Sideboxes can be customized using your templates and overrides by copying the original file for the sidebox:
    /includes/modules/sideboxes
    /includes/templates/template_default/sideboxes

    to your override directories:
    /includes/modules/sideboxes/your_template_dir
    /includes/templates/your_template_dir/sideboxes

    and then you can change what information is included or excluded ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Mar 2008
    Location
    QLD - Aussie
    Posts
    192
    Plugin Contributions
    0

    Default Re: Turning off price in sideboxes

    Hi Ajey,

    Thank you so much for your quick reply.
    Can I ask a really dumb question? I feel really embarrassed, but I looked at the files, and I really have no idea which bits to change & what to change them to (in order to turn off the prices) I realize that it is probably glaringly obvious, but I'm at the "I'm scared I'll break it" phase

    I really am sorry to take up more of your time - I am learning heaps from these forums (daily compulsory reading) , and FAQs and the book but still have a loooooooong way to go

    Many thanks

    Steppi (Green333)

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,718
    Plugin Contributions
    6

    Default Re: Turning off price in sideboxes

    Take for example, the New Products sidebox ...

    The original files are located at:
    /includes/modules/sideboxes/whats_new.php
    /includes/templates/template_default/sideboxes/tpl_whats_new.php

    You would copy those files to your templates and override directories, where your_template_dir is the directory for your templates and overrides:
    /includes/modules/sideboxes/your_template_dir/whats_new.php
    /includes/templates/your_template_dir/sideboxes/tpl_whats_new.php

    NOTE: I always copy both peices of a sidebox even if I am only changing one peice so that there is no confusion in the future ...

    In this case, to remove the price, you need to remove it from the:
    tpl_whats_new.php

    file so that it does not display, and you will see a line that reads:
    PHP Code:
        $content .= '<div>' $whats_new_price '</div>'
    simply comment that out:
    PHP Code:
    //    $content .= '<div>' . $whats_new_price . '</div>'; 
    Now you will not see the price in the New Products sidebox ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  5. #5
    Join Date
    Mar 2008
    Location
    QLD - Aussie
    Posts
    192
    Plugin Contributions
    0

    Default Re: Turning off price in sideboxes

    Linda

    Many thanks for your assistance (yet again) & comprehensive answer. GREAT for the newie!!

    I'm feeling more "brave" everyday

    S

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,718
    Plugin Contributions
    6

    Default Re: Turning off price in sideboxes

    Glad that this helped you out ... thanks for letting us know ...

    Oh ... be careful of hitting that button over there ...

    umm ... never mind ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. Turning of SSL, how?
    By Rob905 in forum General Questions
    Replies: 3
    Last Post: 9 Jan 2008, 12:01 AM
  2. Sideboxes/information + Sideboxes/more_information
    By gsh in forum Basic Configuration
    Replies: 1
    Last Post: 16 Oct 2007, 08:04 PM

Bookmarks

Posting Permissions

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