![]() |
Remove Product SKU & Pricing Information 4.2
I am wondering if anyone can help me with this.
I need to have a check box on the product admin side that allows me to enable or disable all of the following: SKU PRICING Items in Stock Options Qtys & Cart Buttons for the customer view...so basically it wouldn't show any of the information under the description. It would be nice to have the functionality where i would be able to enable or disable each one indvidually..but i only have 3 days to get this done..so 1 checkbox for the whole thing would be ideal. I'm using 4.2Gold - Fashion Mosaic Blue. Any help would be great! |
Re: Remove Product SKU & Pricing Information 4.2
Moving to the 4.2 forum - the Completed Custom Mods forum is for completed code only. Thanks!
|
Re: Remove Product SKU & Pricing Information 4.2
Quote:
Some of them like Quantity already have checkbox in admin side - General Settings/Appearance options As for the others - why not just comment them out in product.tpl? |
Re: Remove Product SKU & Pricing Information 4.2
Quote:
Thanks for the lead. There are other products that will require the pricing & inventory information to shows but what you've suggested will work if I Create another product.tpl file with the bottom part commented out - "product2.tpl" Find someone to help me with 1) which admin file to edit to put the checkbox to switch between the 2 templates 2) What code would i need to edit in that file to make this happen. If anyone else can help me with this - please post. |
Re: Remove Product SKU & Pricing Information 4.2
You can add this option to your admin General 'Config -> Appearance' section by single MySQL query in 'Patch/Upgrade' section:
Code:
INSERT INTO `xcart_config` ( `name` , then you have to check the value $config.Appearance.Show_SKUnPricing in templates : Code:
{if $config.Appearance.Show_SKUnPricing eq 'Y'} |
Re: Remove Product SKU & Pricing Information 4.2
Quote:
That won't work as i need this to be done at the product level..as some products will need this information displaying. |
Re: Remove Product SKU & Pricing Information 4.2
One quick solution is to use a product extra field. You can search the forums for code on how to code an if/than statement based on the extra field. maybe start with this thread.
|
Re: Remove Product SKU & Pricing Information 4.2
I know this thread is a bit old, but is there any chance someone could post how to do this JUST for the SKU in 4.4.2? I would love to have this as a checkbox.
Right now I simply commented it out on the template. thanks! |
All times are GMT -8. The time now is 05:05 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.