Forums / All Other Contributions/Addons / Tabbed Products ''LITE'' version - Delimiter based

Tabbed Products ''LITE'' version - Delimiter based

Locked

Views: 234,293

Results 1,161 to 1,180 of 1,190
This thread is locked. New replies are disabled.
17 Jan 2008, 9:07 PM
#1161
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Tabbed Products ''LITE'' version - Delimiter based

Ill see how it flows...
I am very new to this contrib.

How long do you estimate the release of the new version?

17 Jan 2008, 10:00 PM
#1162
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

milobloom:

Ill see how it flows...
I am very new to this contrib.

How long do you estimate the release of the new version?

I'm testing it now with most of the configurations but there are a lot of ways they can be configured between global and manual tags so I'm just doing as many as I can.

Found & fixed a few bugs already. Zen-Cart uses a lot of id based css.. which seems unnecessary when you could use class instead.. so for each id I find I have to "finagle" it so that it still w3c validates without changing or breaking anything else.

I am also testing it with 1.3.8a.. and it's working fine.

I will release it tomorrow for sure.. as I will be tired of testing it by then :P

You can sneak a peak here:
http://www.unbannable.com/zen138a/index.php?main_page=product_info&cPath=25&products_id=36

It won't look like much has changed from the last version but it's a complete rewrite from start to finish.

18 Jan 2008, 3:52 AM
#1163
bifficus avatar

bifficus

New Zenner

Join Date:
Sep 2007
Location:
Vancouver, CA
Posts:
87
Plugin Contributions:
0

Re: Tabbed Products ''LITE'' version - Delimiter based

Hi QHome and other Zenners,

Thanks again for one of my favorite mods.

Question: Is there any impact in using tabbed product lite on search engine postion optimization (SEO for future searchers)? I believe, based on my rudimentary understanding, that it should be ok, as the text and keywords are still included on the page. However, if I am wrong on this, I definintely need to make some changes on how I have done my descriptions.

For this interested, you can take a look at a sample product on my site:

http://www.certifiedbattery.com/cellular-4/motorola-22/razr-v3-4963/motorola-razr-v3-replacement-battery-snn5696b-108.html

Normally what I do is put the compatibility information on another tab, as HP is notorious for having thousands of different skus that work with a single model.

If you check the example page I sent, then click compatibility, you will see the various models that the battery works for. Some (or most) of those are never in the front tab of the product description, and I am scared that it might impact SEO results.

Anybody care to comment on the potential impact of TPL and SEO? I would really appreciate it.

Thanks kindly,

Todd

18 Jan 2008, 2:38 PM
#1165
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

bifficus:

Hi QHome and other Zenners,

Thanks again for one of my favorite mods.

Anybody care to comment on the potential impact of TPL and SEO? I would really appreciate it.

Thanks kindly,

Todd

Since TPL doesn't actually modify any of the meta data or description, there is no impact. TPL just takes the existing page data and manipulates it on the client to look differently. With the upcoming version, this will be even more accurate as now I am using requires of the real zc files instead of creating a subclassed version of them.

In TPL 3.8, I use a subclassed version of the reviews module, and I copied a lot of DB queries from the real files and cloned them in TPL. In the new version, I call the existing files for the functions so even if the files were to change, it should be transparent to TPL.

So there should be no impact at all on SEO.

milobloom:

Since you are editing the default template_info_display

Perhaps you could make a slight mod to where the price lays out.

Looks a little off center on my site...

http://www.allforyourwedding.com/~noah/index.php?main_page=product_info&products_id=1661

I know, I should learn some php programming myself by now...

Well in the previous versions of TPL, I did a lot of restructuring of the add to cart and stuff using tables because of the way the addtocart was set to "float" in its css properties. This was causing the add to cart button to float off the tab. I also left in some other modifications that I had on my site cuz i thought it looked better than the zc default.

In efforts to keep it more basic, I removed all the tables. I did however add <fieldset> </fieldset> tags around the add to cart button to keep it on the tab but it should be cleaner and still rely on the rest of its CSS props for alignment. Which on my demo above is right up against the right-side wall where it should be.

In other news...

I finally got all the w3 validation stuff worked out from what I can tell.
I fixed a few more minor bugs
I am working on making the rendered html look cleaner and easier to read (useful for debugging problems)
I also am trying a different method for the sql file. The previous versions seem to cause a lot of people grief, mainly those that had prefixes on their database. I have not yet tested it with a prefixed database.
Other than that I will be updating the Readme file now and get it packaged up for release.

I am going to release the "magic" one first to see how it works for everyone. That one has the least maintenance for bugs and stuff but I am still unsure if using the "magic" will cause any other unforeseen problems.

You guys will be my guinea pigs :) but I will also use it on my live site.

18 Jan 2008, 6:26 PM
#1166
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

Well I just found the first "semi-major" problem with the "magic" version.

Because of the way the magic works, it basically creates 2 copies of each module and uses javascript to figure out if it exists on the tabs, then hide the real one on the product display template. But it's only hiding it from your browser, the code still loads in the background.

Then i use jscript to set the real divs to be hidden, and change the rendered id of the tabbed version of the modules to have the real id name so that it uses the correct css settings. So its really an optical illusion. The actual source code will show 2 copies, while the rendered page will only show one.

The problem is that this is a form. So while the add to cart button does the send action, i forgot that there are other modifiers.... the attributes and the add to cart qty box.

It works fine for radio buttons. But for textboxes and dropdown boxes, there is a default value already set. So while changing it on the tab, the real version, which loads after the tabbed version, is hidden but still applies its own default value. Which means that the tabbed version gets over written when clicking add to cart. Same with the qty box. If you use the qty box option and enter qty 10.. it will use the default min qty number from the hidden one.

So to fix this I have 2 options.

Option 1.
I can:

  • use php to save the actual name value of the tabbed version to a variable.
  • Rename the name value to add "_tab" to the name so that when the real one loads they are uniquely named.
  • Pass that php variable from step 1 to a jscript variable and match that name to the real one. Then change the real one on the rendered client to be something else.
  • Then change the tabbed one to the real one to apply the form action when submitting.

The problem with this one is that I have not yet proven that the form will accept the jscript manipulated name vs the one that is in the code. If it doesn't, then this option is completely out of the water.

Option 2:
I can hybrid with the non-magic one for the add to cart and attributes in the product template. So instead of just 3 lines added to the template, you need to add 2 more IF statements. It would still be less changes than the old versions have needed to date.

18 Jan 2008, 8:54 PM
#1167
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

OK. it looks like Option 1 will work. I even found a little easier way of doing it by basically replacing the off-tab code with a blank via javascript el.innerHTML = '';

now when the form is sent, it has nothing to override the value so it uses the correct value.

I will need another few hours to work on it tho, and tonight isn't looking good. Tomorrow late morning it should be ready.

19 Jan 2008, 12:47 AM
#1168
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Tabbed Products ''LITE'' version - Delimiter based

I have been looking at this other mod.
But thinking, perhaps I can get this done with tabs.

It allows a product to be placed (for that mod in 1 Catagory)
Without a Add To Cart or Price Button.
They call it Gallery.

Stores with one-of-a-kind products may benefit from a showcase gallery for sold items.

This mod allows regular products to be simply moved to one or more designated categories when sold; they will then, in product listing and product info pages, appear without price or add to cart/sold out displays.

Other elements of display can also be turned off or modified following simple coding examples.

This may also be useful for upcoming items which are not yet available for sale.

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=606

Now the reason I want this is because I want to actually just use the product listing to launch to another site where I earn the refferal fee... But
Listing things this way will allow me to still send it to google etc...

Unless of course this can be done by putting a code in which would also be cool.

19 Jan 2008, 1:47 AM
#1169
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

Gallery mod is basically a product info template modification to remove the add to cart. Technically if all you want to do is remove the cart button all together that could be done easily with TPL or just by editng the product info template. I don't know what else that mod offers as I haven't installed it.

I'm not sure but I would think it would have made more sense to make the gallery a separate product type that would follow the format.. so that you could make some products "Gallery only" and other products could be normal with add to cart button. But I digress and don't fully know the contrib.

you could also use the Gallery Mod's product info template and add the 3 lines of TPL code to make it tabbed and have the best of both :)

19 Jan 2008, 3:28 AM
#1170
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

UPDATE:

Ok I got all the kinks worked out with the attribute over writes. It was even easier than I thought after taking a break. I realized that instead of just hiding the non-tabbed code for items that exist on tabs, I could just make the client think that the innerHTML was deleted. So there's nothing there to override the tabs. Works Great!

As I said before, I am going to be creating a new thread as this one has reached it limit. Because this version has been completely rewritten, I will be jumping up to TPL v4.0... tho i'm not sure how i ever got past 1.x :P I was living fast and loose with my version numbers in the early days :P

Maybe I'll just rename the whole contrib to something like TabMagic or something. I'll sleep on it.

stay tuned

19 Jan 2008, 2:04 PM
#1171
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Tabbed Products ''LITE'' version - Delimiter based

you could also use the Gallery Mod's product info template and add the 3 lines of TPL code to make it tabbed and have the best of both :)

Cool. Ill wait untill tabMagic comes out first. Wouldn't make sense to try it now.

21 Jan 2008, 5:49 PM
#1172
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Tabbed Products ''LITE'' version - Delimiter based

Just checking in... Thought you would have it up by now... Running into any problems???

6 Feb 2008, 11:25 PM
#1174
cottoncloud avatar

cottoncloud

New Zenner

Join Date:
Nov 2006
Posts:
4
Plugin Contributions:
0

Re: Tabbed Products ''LITE'' version - Delimiter based

Hi,
I'm attempting to install this module on a freshly installed ZenCart and am getting the following error when uploading the SQL Patch.

1146 Table 'zencart.configuration_group' doesn't exist
in:
[SELECT @gid := configuration_group_id FROM configuration_group where configuration_group_title LIKE 'Tabbed Products Config';]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I would be grateful for any help diagnosing what is going wrong!

http://www.cottoncloudfutons.com/onlinefutonstore.01

thanks

dtb

7 Feb 2008, 1:13 AM
#1175
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

cottoncloud:

Hi,
I'm attempting to install this module on a freshly installed ZenCart and am getting the following error when uploading the SQL Patch.

1146 Table 'zencart.configuration_group' doesn't exist
in:
[SELECT @gid := configuration_group_id FROM configuration_group where configuration_group_title LIKE 'Tabbed Products Config';]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I would be grateful for any help diagnosing what is going wrong!

http://www.cottoncloudfutons.com/onlinefutonstore.01

thanks

dtb

This contrib is no longer supported and has been replaced by "Tabbed Products Pro". the Pro version should fix this problem and others.

You can see the official support thread here:
http://zen-cart.com/forum/showthread.php?p=496013#post496013

11 Jun 2008, 2:09 PM
#1176
koge avatar

koge

New Zenner

Join Date:
Aug 2007
Posts:
19
Plugin Contributions:
0

Re: Tabbed Products ''LITE'' version - Delimiter based

Hey all,

Thanks for this great contrib!

I installed it and it went fine but I'm getting this in result.

Can someone tell me what is wrong with it? It's a fresh installation of the addon. I didn't edit any files.

Thanks in advance!

11 Jun 2008, 4:06 PM
#1177
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

koge:

Hey all,

Thanks for this great contrib!

I installed it and it went fine but I'm getting this in result.

Can someone tell me what is wrong with it? It's a fresh installation of the addon. I didn't edit any files.

Thanks in advance!

qhome:

This contrib is no longer supported and has been replaced by "Tabbed Products Pro". the Pro version should fix this problem and others.

You can see the official support thread here:
http://zen-cart.com/forum/showthread.php?p=496013#post496013

Try that one

18 Nov 2008, 8:48 PM
#1178
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Tabbed Products ''LITE'' version - Delimiter based

TREMENDOUS - I have been watching and waiting for development to slow down before installing.

Did it today on https://www.nativitydisplays.com on the Cherry Zen Template.

I have nothing to say but "Excellent Work" about all of your contributions.

:bigups:
JOhn ><>

Newest Site: ChargerPros - Stuff4Toys

19 Mar 2009, 6:15 PM
#1180
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

Re: Tabbed Products ''LITE'' version - Delimiter based

Hi

I seem to have a problem, now it could be the image handler or it could be tab lite, Im not sure which so thought I would try here first since its the more active one.

I recently relocated a friends site to my hosting temporarily, after fiddling for a short while its working ok, however, for some reason, on several of the products, when you go into the product to view it you get the following.

Image displays ok
Description Tab is visible, followed by this line.

Warning: ereg_replace() [function.ereg-replace]: REG_EPAREN in /home/xxxxxxxx/public_html/macropackaging.co.uk/includes/templates/Custom1/templates/tpl_product_info_display.php on line 248

Under this line I then have the same line repeated some 3 pages in length.

Warning: preg_match() [function.preg-match]: Compilation failed: missing ) at offset 49 in /home/xxxxxxxx/public_html/macropackaging.co.uk/includes/templates/Custom1/templates/tpl_product_info_display.php on line 261

Then I have the description and all other items displaying without problem

You can see it here http://www.macropackaging.co.uk/doublewallremovalboxes1092x356x546mm43x14x215hugeboxes-p-223.html

Now I dont know enough about php to be able to work out where the issue is, but I have read the possibility of not having a / in front of a " but honestly am not sure.

Can anyone help me with this.

Thanks in advance:unsure:

My only addon is Gallery addon and can be seen here breezy