♥JcMagpie Posted January 9, 2019 Author Share Posted January 9, 2019 You are missing the whole point of this add-on! It is to use existing data and present it in a better way on the product info page. If you don't need or like the aditional Tabs don't use them, keep the original 7 tab version. The updates were done for those that needed more than the basic 7 tabs. Also you can customise the add-on anyway you need, the code is all in the files go edit it to display how you need. 😊 it's not posiable to keep everyone happy with a simple no core code or db change add-on. If you don't want to change the add-on simply do this in admin rename the Tech info to Product info. in the template fiie public_html/includes/modules/content/product_info/templates/tpl_cm_pi_description_tabs.php find around line 9 <li><a href="#tab-1"><span class="icon"><i class="<?php echo MODULE_CONTENT_PI_DESCRIPTION_TABS_ICON1?>"></i></span><?php echo MODULE_CONTENT_PI_DESCRIPTION_TABS_TEXT1 ?></a></li> and simply commet this out like this, <!--<li><a href="#tab-1"><span class="icon"><i class="<?php //echo MODULE_CONTENT_PI_DESCRIPTION_TABS_ICON1?>"></i></span><?php// echo MODULE_CONTENT_PI_DESCRIPTION_TABS_TEXT1 ?></a></li>--> takes about 5 minutes and you get! 😊 not so hard to do. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted January 9, 2019 Author Share Posted January 9, 2019 1 hour ago, fantomen said: Then I can not see any product description in the TAB Product description This is because you are not using the software properly. You should always have a discription in "Product Meta Description for SEO: If you do not you will not have much sucsess in Google rankings! Link to comment Share on other sites More sharing options...
♥JcMagpie Posted January 10, 2019 Author Share Posted January 10, 2019 Has been updated to V1.8 Has been updated to add tab selection. You can now select 1 of 3 layouts for the tabs. In admin set tabs select display to 1 for all tabs 2 for no Product Description ( removes SEO description ) 0 for stock 6 tabs only Link to comment Share on other sites More sharing options...
valquiria23 Posted January 10, 2019 Share Posted January 10, 2019 Excellent work @JcMagpie. Congratulations! Community Oscommerce fan You'll find the latest osC community version here. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 4, 2019 Author Share Posted February 4, 2019 Has been updated to Version 1.9 You can now add color to each tab to make them a bit more in keeping with your styling. 20190204_152709.mp4 Link to comment Share on other sites More sharing options...
valquiria23 Posted February 4, 2019 Share Posted February 4, 2019 Thank you very much Zahid @JcMagpie for another great addon and for moving oscommerce forward !! Soon I will upload the translations into Spanish to contribute my humble support to the project. Best regards Valqui Community Oscommerce fan You'll find the latest osC community version here. Link to comment Share on other sites More sharing options...
♥Dnj1964 Posted February 9, 2019 Share Posted February 9, 2019 Edge BS4 JcM Product Info Description Tabs 1.9 Add-On converted osc stock product info but when adding new products no info tabs show up on the product info page The added product info shows in admin but no product shows in the shop. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 9, 2019 Author Share Posted February 9, 2019 2 hours ago, Dnj1964 said: new products no info tabs You must set a manufacturer with logo for all new products as it uses this to filter. Aslo please note the istructions about the custom tabs these require product_info edit to use, or select stock tabs only from admin. Or ask @burt he has tabs as part of his 28days. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 9, 2019 Author Share Posted February 9, 2019 As they say a picture is worth a thousand words. Link to comment Share on other sites More sharing options...
♥Dnj1964 Posted February 10, 2019 Share Posted February 10, 2019 I have it so screwed up now it is completely broken. Going to start again and modify the code. Trying to pair it down to only Tabs 2, 4, 7, 8, 9 Had it working on the osc stock images but wouldn't pick up the new images. Altered the db queries to suit. Think my issue was when I changed the code in template from if ($showtab1 == 1): ?> to if ($showtab2 == 1): ?> If nothing else I am persistent, and I will make it work. Thanks Link to comment Share on other sites More sharing options...
♥Dnj1964 Posted February 10, 2019 Share Posted February 10, 2019 Working for stock osc products and yes once it is working for new products I will disable and remove the stock description module Newly added products don't pick up tabs I have Manufacturer, SEO and Logo set for products And Link to comment Share on other sites More sharing options...
♥Dnj1964 Posted February 10, 2019 Share Posted February 10, 2019 Modded all the files again to suit my needs and disabled stock description Only issue is product tabs not working on newly added products. Link to comment Share on other sites More sharing options...
♥Dnj1964 Posted February 10, 2019 Share Posted February 10, 2019 SOLVED - Product Model - Required Now the Product Attributes drop down causing an issue being set to 100%. Now need Attributes below product image and drop down set to about 40% Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 10, 2019 Author Share Posted February 10, 2019 Hey I whent to all that trouble putting fancy colors on the tabs and you made them all pink 😂 Yeah the layout is just a numbers game just keep jiggling them around untill it works. As long as your happy with the result all is good. The code is this way just to make it flexable for all the variants peope asked for. You can strip it back to any basic setup you like. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 22, 2019 Author Share Posted February 22, 2019 JcM Product info description_tabs Select Has been update by request. This is a new add-on to prevent any confusion with older version. JcM Product info description_tabs Select V1.0 Disable Tab 2 if you are using your SEO key words! Has been updated to add tab selection. You can now turn of all tabs except the first one. All changes are in admin. In admin set tabs display, you only need to change the disable box as it will hide tab and content. Everything else is as before. Made as new add-on to avoid any confusion with other version. Code has all so been simplified to remove js script tabs they are now bootstrap and BS3 and BS4 have own files so use the correct ones for your site. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 23, 2019 Author Share Posted February 23, 2019 JcM Product info description_tabs Select JcM Product info description_tabs Select V1.1 Updated to V1.1 The Video and Manuals tabs will now only show on products that have the first video or manual available. Within the tabs the behavior is the same and second files are only shown if they exist. Link to comment Share on other sites More sharing options...
LeeFoster Posted February 24, 2019 Share Posted February 24, 2019 Two things, I'm getting the below error Quote Warning: Use of undefined constant MODULE_CONTENT_PRODUCT_INFO_REVIEWS_CONTENT_LIMIT - assumed 'MODULE_CONTENT_PRODUCT_INFO_REVIEWS_CONTENT_LIMIT' (this will throw an Error in a future version of PHP) inC:\xampp\htdocs\bsv4full\includes\modules\content\product_info\cm_pi_description_tabs_select.php And how do I define what is shown on each tab? Link to comment Share on other sites More sharing options...
ArtcoInc Posted February 24, 2019 Share Posted February 24, 2019 @LeeFoster By chance, are you using PHP v7.2x ? PHP v7.2x is much stricter than prior versions, and now outputs warnings (note, these are WARNINGS, and not ERRORS) in what earlier was acceptable code. M Link to comment Share on other sites More sharing options...
LeeFoster Posted February 24, 2019 Share Posted February 24, 2019 7 minutes ago, ArtcoInc said: @LeeFoster By chance, are you using PHP v7.2x ? PHP v7.2x is much stricter than prior versions, and now outputs warnings (note, these are WARNINGS, and not ERRORS) in what earlier was acceptable code. M I am using 7.2.5 Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 24, 2019 Author Share Posted February 24, 2019 I have only tested upto 7.2 for which it should be ok, There are several versions of this in use, let me know which version you are using and if you have modified it or not and I will take a look in the morning. It could just be somthing i have missed? Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 25, 2019 Author Share Posted February 25, 2019 I had a look at this and I am unable to reproduce this warning. Now this is probably due to the fact I can not select 7.2.x on my server. However I checked by adding a new undifined constant using 7.2 and it did produce a warning for that new undifined constant bit nothing from original code. Checking with 7.3 was not an option as CE would not run with PHP set to 7.3. Link to comment Share on other sites More sharing options...
LeeFoster Posted February 25, 2019 Share Posted February 25, 2019 The section of code it refers to is also repeated in the reviews file so I'm wondering if it's maybe just been duplicated there by accident. Link to comment Share on other sites More sharing options...
Heatherbell Posted March 17, 2019 Share Posted March 17, 2019 @JcMagpie How do I make the add to cart buttons bigger as shown in one of your pictures? Link to comment Share on other sites More sharing options...
♥JcMagpie Posted March 17, 2019 Author Share Posted March 17, 2019 1 hour ago, Heatherbell said: How do I make the add to cart buttons bigger as shown in one of your pictures? I'm not sure i did? please post link. If you are using the Frozen version then some buttons are moduler so as you change the width the button will chnage acordingly. If the button is part of another module then you can change the class to suite your needs. btn-sm btn-lg btn-block It all depends on which version you are using. on CE Frozen BS4 width set to 4 gives Content Modules Buy Button width set to 12 gives, just an example you normaly have to adjust others to keep layout as you need. Link to comment Share on other sites More sharing options...
fantomen Posted March 17, 2019 Share Posted March 17, 2019 How may I change the language to swedish language on all the tabs? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.