| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Remove Product SKU & Pricing Information 4.2 | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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!
__________________
xcart 4.2 Gold Fashion Mosaic Blue. Unix Hosted |
|||||||
#2
|
|||||||
|
|||||||
![]() Moving to the 4.2 forum - the Completed Custom Mods forum is for completed code only. Thanks!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() 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?
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#4
|
|||||||
|
|||||||
![]() 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.
__________________
xcart 4.2 Gold Fashion Mosaic Blue. Unix Hosted |
|||||||
#5
|
|||||||||
|
|||||||||
![]() You can add this option to your admin General 'Config -> Appearance' section by single MySQL query in 'Patch/Upgrade' section:
Code:
then you have to check the value $config.Appearance.Show_SKUnPricing in templates : Code:
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#6
|
|||||||
|
|||||||
![]() Quote:
That won't work as i need this to be done at the product level..as some products will need this information displaying.
__________________
xcart 4.2 Gold Fashion Mosaic Blue. Unix Hosted |
|||||||
#7
|
|||||||||
|
|||||||||
![]() 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.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
#8
|
|||||||
|
|||||||
![]() 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!
__________________
Global Awakening Globalawakening.com ---- GlobalAwakeningStore.com X-cart Gold 4.4.4 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|