ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Would think would want to compare current installation with default and include a review of overrides to be sure. Stevesh and I are able to perform the action desired without issue. (I tried in both normal and classic templates). And okay, so it does populate a zero, but even the demo products a zero is there and when the product is marked call for price the add to cart button is disabled. Something has overridden that for you. It could also be in an override file like listening for an event.
What plugins do you have installed or mods? What is the source of your template? (I didn't look at the source page yet to see if there was a template author listed.)
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
I have alot of mods installed and custom code and overrides in place for features I needed that didn't have plug-ins available, I will install a dummy store and compare files, could someone tell me what files I might want to look at or at least a good place to start, if I see the store to be showcase with prices it acts as I expect it too wonder if there is a quick solution where I could insert some code into a file and tell it if product is call for price treat it as showcase w/o price? I know it might not be the best solution but it may work until I can identify the break and fix it correctly, thanks for all the help so far everyone hoping to get this resolved or at least patched up soon with a band aid if you will.
Thing is, it's likely a quick fix anyways, especially if use a text comparison tool such as winmerge or similar.
As far as comparisons, I might suggest just base code to base code specifically since the problem appears when in default classic mode as well as when using your current template. That indicates either the classic template and your current one had the same modifications, or the default template was changed rather than your active/current template. Probably looking for/at module files I would think. Typical edited/overridden files are module and template. Although functions may get overridden.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
That's not a standard display of a call-for-price product. Looking at the Zen Cart sample products, the call-for-price product displays with no price, no add-to-cart/qty box but a "call for price" box with a link to the contact_us page.
Perhaps if you posted a screenshot of the product's definition (leaving out any sections that will identify the name of your admin folder), we could help more ... especially when you indicate that changing to the classic template doesn't affect the display.
Have you made any changes to /includes/functions/functions_prices.php? That's the file that contains the function zen_get_products_display_price (which is where the call-for-price box should come from).
Actually, Call for Price will display the Price if a Price is set, however, all Add to Cart/Buy Now buttons are changed to prevent Product from being added to the cart ...
So if you want no Price to "tease" the customer into Calling for the presumed better Price than what they are seeing, do not set a Price ...
Either way, you cannot add Call to Price Products to the cart, unless you have messed up the code that manages the price display and the button display or changed something in your custom template/original core files that alters this feature ...
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.5]
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!
Ajeh this is what I am thinking has happened what would be a good file to start at looking at so that I can get it switched back to normal function?
just checked with winmerge and the funtions_prices.php are the same for the most part, the only modifications are indeed not affecting what is happening on my store I verified this by replacing it with the original source file and there is no difference in how my store acts, where should I look next?
Thanks in advance!
Bookmarks