Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CONTRIBUTION Product Tabs


Cyperis

Recommended Posts

Please, can you help us in changing something in the engine of osCommerce ?

We would like to add "net paging" at the bottom of home page. When we open the home page, only nine book covers can be seen. We would like to make possible the display of the other books by clicking on "next".

Thank you for advance.

Link to comment
Share on other sites

Please, can you help us in changing something in the engine of osCommerce ?

We would like to add "net paging" at the bottom of home page. When we open the home page, only nine book covers can be seen. We would like to make possible the display of the other books by clicking on "next".

Thank you for advance.

 

What has this got to do with the product tabs add on.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

Hi EchoGuns,

 

Well I finaly did it. I brought the 2 contributions to 1.

 

If you want to see it in action here is the link. I did swith price with model. As it is more friendly. And I fix the issue with the layout of the buttons

 

http://www.shoptuin.nl/product_info.php?cPath=21&products_id=28&language=en

I would like to see how u combined these 2 together. I am wanting to do the same thing....
Link to comment
Share on other sites

Tabs are stacking on top of each other and showing all content. Can you tell me where the css is modified - I can't seem to find it anywhere. What modification needs to be made to make the tabs horizontal instead of vertical? I've tried in FF, Chrome, & IE.

 

Thanks for the great mod!

 

Here's the screenshot

post-172527-0-35070800-1358991310_thumb.png

Link to comment
Share on other sites

I cannot get this to work for nothing.

I have these mods installed AND i have tried this solution to no avail

I had the same problem and I did a compare of the old file and the new file and noticed that

 

.ui-tabs .ui-tabs-hide {

display: none !important;

}

 

was missing from the custom css file. I added this and now it works fine.

 

MODS::: (This is just my listing I keep so excuse the notations)

NEW STORE INSTALL LIST

1. Super Download Store 2.3 (Overwriting upload) (SQL Database)

2. KISS Error Reporting

3. Theme Switcher

4. Admin Theme Switcher

5. iOSC 5.2 (SQL Database change in ReadMe)

6. Security Pro r11

7. KISSit Image THUMBnailer

8. Product Info Page Box (SQL Database change)

9. Free Product Checkout

10. Enhanced Contact Us v1.2 (Change text according to your store in languages/english/contact_us.php)

11. Password Strength Meter

12. Free Product Box

13. Ultimate SEO URL 5

14. CrossSell 3.0 (XSell) [Needs some work!] (SQL Database change)

15. PHP POS (Needs Development in order to work properly with osCommerce Database!)

16. Magneticone POS (Perfect)

17. iOS 5.3 update

18. MyAccountInfo Box

19. Modular Front Page

20. Orders at a Glance Admin Dashboard Panel

21. Ask a Question (Did not install, issue with product_info.php)

22. Barcode for products

23. Sitemap Generator with images

24. Magento osCommerce POS

25. Auto Backup v4.3 (Breaks Some Buttons)

26. Ajax Price Update v1.2

27. Quick Inventorys

28. AJAX Attribute Manager (Still needs Updates to handle Downloads. Double Check Later)

29. Product Tabs

Link to comment
Share on other sites

  • 5 weeks later...

hi EchoGuns,

 

i got PageBox working fine now and now im working on ProductTabs.

 

I got in admin section on the product edit site a fatal error as follow:

 

Fatal error: Call to undefined function tep_get_products_tabs() in /kunden/#removed#/#removed#/admin/includes/products_tabs.php on line 15

 

I am using Mindsparx_admin_v5__for_2.3 and ckeditor_3.6.6.1 but that should not have any effect on ProductTabs i think.

 

On the catalog site every is looking fine, do you have an advice for my problem?

 

greets

stefan

Edited by stratula
Link to comment
Share on other sites

I AM an idiot :)

 

i did not the changes in admin/includes/general.php :-

 

Now its visible in admin section but its showing always all tabs in both languages and if i put something in a other tab but descripton, it is on the product sit of the catalog in the description tab below the descripton.

The other tab is also there but without a function.

Link to comment
Share on other sites

YEAH - its seems i got it done!!

 

I did the change on the jquery-ui-1.8.6.css like kplace did on post #71

 

.ui-tabs .ui-tabs-hide {

display: none !important;

}

 

GREAT CONSTRIBUTION!! and its looking really marvelous together with PageBox :thumbsup:

 

many many thx

 

greets

stefan

Edited by stratula
Link to comment
Share on other sites

Hi EchoGuns,

i had to update jquery for accordion_categories and now ProductTabs is no longer working like it did.

The whole shopsite is now showing in the ProductTab i've seen that i'm not the first person with this problem. - do you have any idea how to solve this?

 

http://www.motopart24.de/product_info.php?cPath=21&products_id=28

 

greets

stefan

Edited by stratula
Link to comment
Share on other sites

Another wonderful jQuery bug, and this one they refuse to fix. Fortunately somebody posted a workaround. Paste the following code in includes/application_top.php just before the </head>:

 

<script type="text/javascript">
// fix jQuery base tag bug
$.fn.__tabs = $.fn.tabs;
$.fn.tabs = function (a, b, c, d, e, f) {
var base = location.href.replace(/#.*$/, '');
$('ul>li>a[href^="#"]', this).each(function () {
 var href = $(this).attr('href');
 $(this).attr('href', base + href);
});
$(this).__tabs(a, b, c, d, e, f);
};
</script>

 

Regards

Jim

 

Edit: Fumbled the code copy.

Edited by kymation

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

I just can't get it to work. Everytime I install, it always has my full website within the description box. I have gotten everything else to work. Even the admin section. And I'm using custom themes

Link to comment
Share on other sites

THX Jim,

 

that works but in includes/template_top.php

 

 

greets

stefan

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

This is actually considered a markup problem with the latest jquery - because of the <base> tag.

 

The tabs are using as links something like #tab1 #tab2 etc - what this means with the base tag is

 

http://somedomain.com/#tab1 or http://somedomain.com/#tab2

 

which is literally the site root loaded in the tab - working as intented ( although this wasnt pre 1.9 behaviour ).

 

Changing the markup to something like

 

<li><a href="<? echo $_SERVER['REQUEST_URI'];?>#tab1">MY TAB</a></li>

 

forces the tab url to be something like

 

http://somedomain/somepath.html#tab1

 

which then loads correctly ( for me at least anyways - with the latest jquery versions)

 

Jules

Link to comment
Share on other sites

That fix also works.

 

My point was that we should not have to make these workaround changes to fix bugs in jQueryUI. But, since jQuery refuses to fix their own bugs, we have to hack the code to fix it. Fortunately osC 2.4 is abandoning jQueryUI.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Both 2.4 and 3.0 are in development. 2.4 will almost certainly be released before 3.0. The 3.0 framework is a complete rewrite and will take a great deal of effort to complete.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

  • 2 weeks later...

Hello,

 

I've installed this contribution but I can not get the tabs to show correctly in my product_info.php file.

It shows ok in the admin site but on the front end it does not show the styles, it only shows as regular text without tabs.

any ideas what am I doing wrong?

Link to comment
Share on other sites

How do you install CKEditor? I really really need links in my product descriptions, and tried running through the install in the add-on section, but the instructions are not straightforward as new versions were added, and I'm not really sure what to do. If someone can help me understand what needs to be done, I'll create the write up myself for others to use, if necessary

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...