Results 1 to 10 of 23

Hybrid View

  1. #1
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Tabbed Products Contrib [WIP]

    Ok, How about the file: /admin/includes/modules/update_product.php ? I have to modify that to use the new Product Type, is there no other way to do that?
    Last edited by qhome; 18 May 2006 at 01:05 AM.

  2. #2
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Tabbed Products Contrib [WIP]

    It doesn't matter what you call the new functions file...as you suspected, they all get loaded.
    As for the file /admin/includes/modules/update_product.php, if you look closer at the other folders under admin/includes/modules, you'll see that the update_product.php is overridden for the product_music type by putting a modifed version in the product_music folder.
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  3. #3
    Join Date
    Mar 2006
    Posts
    19
    Plugin Contributions
    0

    Default Re: Tabbed Products Contrib [WIP]

    Just wanted to say thank God for you guys! I saw this post and started drooling. I have a current project that was about to go into standy-by b/c we need to use this feature.

    Thanks so much! I can't wait to put your hard work to good use!

    Kevin L.

  4. #4
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Tabbed Products Contrib [WIP]

    Quote Originally Posted by bunyip
    It doesn't matter what you call the new functions file...as you suspected, they all get loaded.
    As for the file /admin/includes/modules/update_product.php, if you look closer at the other folders under admin/includes/modules, you'll see that the update_product.php is overridden for the product_music type by putting a modifed version in the product_music folder.

    You are absolutely right! Thanks! I'm about done with this product type now. I will most likely release tomorrow, i just want to make sure I make the tabs look good now

  5. #5
    Join Date
    May 2005
    Location
    Brussels belgium
    Posts
    203
    Plugin Contributions
    0

    Re: Tabbed Products Contrib [WIP]

    Hi qhome,

    Can I try your contrib on my site ?

    ps: my zen cart version is 1.2.5D is compatible ?

    Thanks in advance

    best regards

    chris
    Zen cart or nothing !!

  6. #6
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Tabbed Products Contrib [WIP]

    I don't think it will be 1.2.5D compatible because its based on the new <div> setup that the product info screen uses in 1.3.x rather than the <table> based one that 1.2.x used.

    I do have some "proper coding" questions tho.

    I was thinking, that maybe instead of adding a new table to the database, would it be smarter/better to make it dynamic based on a "split" character in the actual product description?

    For example: Have the custom product info page create a div loop for every time it reads "%%%Tab2Name" or something like that? This way, you could have as many tabs as you want, without editing the tpl file or adding more fields to the database. In fact that would make it a simple one file contrib that you simply place in your template folder.

    I've got it working that way too, I guess I could do it both ways.. and call this cheater way the "lite" version :)

    Any thoughts?

  7. #7
    Join Date
    Mar 2006
    Posts
    19
    Plugin Contributions
    0

    Default Re: Tabbed Products Contrib [WIP]

    I like the idea of the delimiter in the product information. This makes it much simpler, and in my mind - much cleaner as well.

    How would you provide the names of the Tabs? Would this be part of the delimiter as well? IE - %%%TAB2Name would be %%%Product_Info ???

    Kevin L.

  8. #8
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Tabbed Products Contrib [WIP]

    well right now i have it working like this:
    %%%TabName~~~

    but its ugly for things like Froogle feeds. So I'd like a better split. And I wonder if I can use escape chars that won't be picked up normally like //TabName// or something. I have some more playing around to do.

 

 

Similar Threads

  1. Tabbed Products Pro (TPP) Contrib - Official Thread
    By qhome in forum All Other Contributions/Addons
    Replies: 2216
    Last Post: 8 Feb 2024, 12:43 PM
  2. v139h Conflicts between Tabbed Home and Tabbed Products Pro v1.07
    By swdynamic in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 14 Sep 2014, 06:29 PM
  3. Tabbed Products
    By jagall in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Jan 2012, 09:55 PM
  4. Tabbed Products Pro
    By top hatt in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 19 Dec 2010, 02:04 AM
  5. Complete Template Rewrite WIP
    By Rowan in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 15 Sep 2006, 02:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR