Forums / Basic Configuration / Turning off price in sideboxes

Turning off price in sideboxes

Locked

Views: 1,727

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
4 Sep 2008, 4:15 AM
#1
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

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 :laugh:

Many thanks

Green333

4 Sep 2008, 2:55 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!]
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 Sep 2008, 9:39 PM
#3
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

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 :blush:

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 :blink:

Many thanks

Steppi (Green333)

5 Sep 2008, 1:25 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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:

    $content .= '<div>' . $whats_new_price . '</div>';

simply comment that out:

//    $content .= '<div>' . $whats_new_price . '</div>';

Now you will not see the price in the New Products sidebox ... :smile:

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!

6 Sep 2008, 5:48 AM
#5
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

Re: Turning off price in sideboxes

Linda

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

I'm feeling more "brave" everyday :smile:

S

6 Sep 2008, 8:49 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Turning off price in sideboxes

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

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

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!]
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!