Forums / Setting Up Categories, Products, Attributes / Disabling model number on product page?

Disabling model number on product page?

Locked

Views: 2,305

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
4 Aug 2008, 6:33 PM
#1
mancer avatar

mancer

New Zenner

Join Date:
Jun 2008
Posts:
42
Plugin Contributions:
0

Disabling model number on product page?

Can anyone describe to me the ability to turn off the model number found on the product's page?

Linked example.

Also how do I get the prices to show?

Finally, is there anyway to turn off the: 'Customers who bought this product also purchased... ' on the product page?

Thanks for all the help!!

4 Aug 2008, 6:36 PM
#2
mancer avatar

mancer

New Zenner

Join Date:
Jun 2008
Posts:
42
Plugin Contributions:
0

Re: Disabling model number on product page?

discovered how to audit the last part to turn off also purchased section.
ADMIN > Configuration > Maximum Values : Also Purchased Products = 0

5 Aug 2008, 4:58 AM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Disabling model number on product page?

Look in the Catalog ... Product Types ... and click on the EDIT LAYOUT button to configure the Product General for what shows and what does not ...

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!

5 Aug 2008, 1:48 PM
#4
mancer avatar

mancer

New Zenner

Join Date:
Jun 2008
Posts:
42
Plugin Contributions:
0

Re: Disabling model number on product page?

Ajeh, thank you so much, finally got the model number off of there. Now my last thing I need to figure out how to do is for the price to show on the product's page... There is not an option under the Product General for showing/hiding prices... if there is then I'm blind.

Here's a snippit of code

</div><!--eof Main Product Image-->

<!--bof Product Price block -->
<div class="pr_info">
</div>

<!--eof Product Price block -->

<!--bof free ship icon  -->

As you can see it's not a css problem with displaying the text, I checked the style sheets everything is good to go. I think there is an option somewhere that I'm missing. Any more ideas?

5 Aug 2008, 2:07 PM
#5
mancer avatar

mancer

New Zenner

Join Date:
Jun 2008
Posts:
42
Plugin Contributions:
0

Re: Disabling model number on product page?

A little more information, as you can see from the all products link on my store that the items all have prices set and are recorded and able to be pulled from the db, as shown here.

It's only when you view a specific item, any item really, it does not show the price. Sorry I keep bumping my own post, but I seem to be missing the edit timer. :(

I'd love help or any ideas from anyone, we're getting ready to launch this site and all help is GREATLY appreciated!

5 Aug 2008, 4:05 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Disabling model number on product page?

Maybe compare your template to the original tpl_ file and see what code is missing ...

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!

5 Aug 2008, 4:27 PM
#7
mancer avatar

mancer

New Zenner

Join Date:
Jun 2008
Posts:
42
Plugin Contributions:
0

Re: Disabling model number on product page?

Hi Ajeh, do you happen to know which files I should be looking at for comparison. I'm unsure of which files load up the product's page... ?
Sorry for all the questions, I just can't seem to figure this out, and thanks for the continued support!

5 Aug 2008, 4:36 PM
#8
mancer avatar

mancer

New Zenner

Join Date:
Jun 2008
Posts:
42
Plugin Contributions:
0

Re: Disabling model number on product page?

Ajeh, you rock! Somehow the tpl_product_info_display.php found under: includes/templates/YOUR_TEMPLATE/templates had the following line of code left out of the price block display loop:

echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . zen_get_products_display_price((int)$_GET['products_id']);

I slid that puppy in there from the original file and w00t! I have prices! Thanks for the idea, lol. I'll have to start doing this more often!

5 Aug 2008, 4:43 PM
#9
mancer avatar

mancer

New Zenner

Join Date:
Jun 2008
Posts:
42
Plugin Contributions:
0

Re: Disabling model number on product page?

New problem with this, though not for me really, if you have a product description (we have maybe 2/800 that have one written out) then this fix will repeat the price 2x as shown here. It's some kind of loop that will only display the price if the description is present. Now that I've bypassed that loop it writes it once and then the description loop writes it again. No biggy, just keep an eye out for it.

7 Aug 2008, 6:17 PM
#10
mancer avatar

mancer

New Zenner

Join Date:
Jun 2008
Posts:
42
Plugin Contributions:
0

Re: Disabling model number on product page?

I managed to fix the php in the tpl_product_info_display.php page, it had an if loop that would repeat the price if a description was found commented it out and it works like a charm.

31 Oct 2009, 2:24 AM
#11
xman888 avatar

xman888

Zen Follower

Join Date:
Jan 2007
Posts:
226
Plugin Contributions:
0

Re: Disabling model number on product page?

Hello Lind,

Thanks for that - worked a treat.

Kind regards,
Anthony