How I you hide the price on the product listing page? (not details page)
How do you hide the price on the products page? (not details page)
The code is in the modules/product_listing.php file, but I can't see to be able to hide to price without rearranging the rest of the product layout. I was getting errors from an older version that I've now replaced with the default product_listing.php file and set up the way I want, but the price appears and I only need it to appear on the product details page.
thank you,
Jeff
Re: How do you hide the price on the products page? (not details page)
Admin > Configuration > Product Listing > Display Product Price/Add to Cart, set to 0.
Re: How do you hide the price on the products page? (not details page)
Hm, thank you, but that also removed the entire column for me.
Just below the price in the same column I have a big (dumb person) button to make it easy to click to the details page. It disappears too. I only need the price to hide and I tried to remove it from the code, but it messed up the columns when I commented out various lines.
Re: How do you hide the price on the products page? (not details page)
If you've modified the portion of the store's software that you want to respond differently than a base/vanilla version, then going to have to show the changed code for anyone to be able to suggest how the modified store should further be changed to get the desired result. So far what is known is that changing the setting for a variable that was determined to do what was necessary for a base install doesn't work on this modified site. Whether the suggestion is/was right/wrong I don't yet know as I too haven't attempted to duplicate the effort recommended.
Re: How do you hide the price on the products page? (not details page)
In 1.5.7b, in the file includes/modules/product_listing.php, the price is set on line 110.
$lc_price = zen_get_products_display_price($listing->fields['products_id']) . '<br />';
you could make this just
$lc_price = '<br>';
and see how that looks.
Re: How do you hide the price on the products page? (not details page)
Thank you!
Yep, that was pretty simple. ;-/
Leave the ID, then replace with a '<br>' or just put '' which worked better for me.
I was trying to hide the whole line at first which created the error.