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

Tabbed Products ''LITE'' version - Delimiter based

Locked

Views: 234,293

Results 1,021 to 1,040 of 1,190
This thread is locked. New replies are disabled.
14 Jun 2007, 3:59 AM
#1021
dwijadas avatar

dwijadas

New Zenner

Join Date:
May 2007
Posts:
20
Plugin Contributions:
0

Tabbed Products ''LITE'' version - Delimiter based

Hi,

I am looking for help in customizing my cart. I want to re-position the add to cart and item price. What kind of changes needed ? is it possible to do ?

I am not great in coding but with guidance I maybe able to do so. :smartalec:

There many good people here in this forum :smile:

Thanks for your help.

14 Jun 2007, 5:22 AM
#1022
metauniverse avatar

metauniverse

New Zenner

Join Date:
Jun 2007
Posts:
11
Plugin Contributions:
0

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

Hi Qhome,

Thankyou for this. It is people like zen cart and you that make dreams possible.

Thankyou for sharing, maybe one day I can do the same.

I solved the problem by adding the prefix in the proper place of the sql:

**SELECT @gid := configuration_group_id FROM configuration_group where configuration_group_title LIKE 'Tabbed Products Config';

**xxx.configuration_group <- this needs to be changed.
where of course XXX is your prefix of database tables.

I know this was posted before, but it was not clear to me as it was posted, so I added the prefix to all tables in the select statement(which was wrong). After examining the SQL logic for a while, the previous posts made sense.

Thank you,
Metauniverse

14 Jun 2007, 5:40 AM
#1023
dwijadas avatar

dwijadas

New Zenner

Join Date:
May 2007
Posts:
20
Plugin Contributions:
0

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

I think owner should add this as note into the instruction. I too was stucked there. then it tool little while what was going wrong with the SQL.

Owner of this mod. pls include this instruction into readme file.

14 Jun 2007, 2:44 PM
#1024
qhome avatar

qhome

Totally Zenned

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

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

dwijadas:

I think owner should add this as note into the instruction. I too was stucked there. then it tool little while what was going wrong with the SQL.

Owner of this mod. pls include this instruction into readme file.

Well the odd thing is that on both of my test databases, one with prefix and one without prefix, the included sql file works fine. I'm trying to find a better way of doing it but its more of a logistics problem with the way configuration_ids are dynamically assigned.

14 Jun 2007, 4:08 PM
#1025
dwijadas avatar

dwijadas

New Zenner

Join Date:
May 2007
Posts:
20
Plugin Contributions:
0

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

Thats good to hear. We are sure that you have great ideas, just that little info will save ppl like me :smartalec:

Wish you a great day ahead !

20 Jun 2007, 10:46 PM
#1026
turtledove avatar

turtledove

Zen Follower

Join Date:
May 2006
Posts:
182
Plugin Contributions:
0

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

Just found out about this mod recently and love it!

I'm in the process of modifying the look, and needed some help.

How do I remove the Product Description Header?

How do I put the product attributes and add to cart INSIDE the tab content container table?

I've been trying to play around with the code, but I keep getting a Syntax Error.

Any help would be great!

21 Jun 2007, 2:51 AM
#1027
qhome avatar

qhome

Totally Zenned

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

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

TurtleDove:

Just found out about this mod recently and love it!

I'm in the process of modifying the look, and needed some help.

How do I remove the Product Description Header?

How do I put the product attributes and add to cart INSIDE the tab content container table?

I've been trying to play around with the code, but I keep getting a Syntax Error.

Any help would be great!

Readme. There are no code changes for either of those, just config changes in the Readme :)

21 Jun 2007, 5:10 AM
#1028
turtledove avatar

turtledove

Zen Follower

Join Date:
May 2006
Posts:
182
Plugin Contributions:
0

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

Yay, thanks!

Is there a way for the add to cart and attributes to be displayed on all the tabs? It's currently being shown only in the Product Description tab.

21 Jun 2007, 6:37 PM
#1029
qhome avatar

qhome

Totally Zenned

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

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

TurtleDove:

Yay, thanks!

Is there a way for the add to cart and attributes to be displayed on all the tabs? It's currently being shown only in the Product Description tab.

There can never be more than one copy of anything, other wise it wouldn't work. If you want to show the stuff on every tab, then there is no point to even having those objects on the tab. The same effect can be acheived by leaving them off the tabs at the bottom or top of the tab container so they are always visible.

21 Jun 2007, 7:50 PM
#1030
turtledove avatar

turtledove

Zen Follower

Join Date:
May 2006
Posts:
182
Plugin Contributions:
0

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

Yeah, I just wanted to put the add to cart and attributes inside the tabcontainer purely for design purposes (so that the table border of the tabcontainer will also include the attributes and add to cart)

23 Jun 2007, 1:37 PM
#1031
knighs2 avatar

knighs2

New Zenner

Join Date:
May 2007
Posts:
42
Plugin Contributions:
0

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

Hi There,

I am using combination discounts and have been trying to get the marketing code (desplay) to show within the tabs. So far I can only get it to apear outside of the tabs. Where ever i place the code ie under product name or under the attributes etc it will not show up only when its out of the tabs area.

Below is the code. Any idea how i can get this to show on the tab ?

Thanks
Shane

<?php $value = "ot_combination_discounts.php"; include_once(zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/order_total/', $value, 'false')); include_once(DIR_WS_MODULES . "order_total/" . $value); $discount = new ot_combination_discounts(); echo '<div class="content" id="combinationDiscountPolicy">'; $resp = $discount->get_discount_info($_GET['products_id'], $current_category_id); for ($i=0, $n=count($resp); $i<$n; $i++) { echo $resp[$i] . "<br />"; } echo '</div>'; // "reverse" discount logic echo '<div class="content" id="combinationDiscountPolicyReverse">'; $resp = $discount->get_reverse_discount_info($_GET['products_id'], $current_category_id); for ($i=0, $n=count($resp); $i<$n; $i++) { echo $resp[$i] . "<br />"; } echo '<br /></div>'; echo '<br class="clearBoth" />'; ?>
23 Jun 2007, 4:44 PM
#1032
qhome avatar

qhome

Totally Zenned

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

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

knighs2:

Hi There,

I am using combination discounts and have been trying to get the marketing code (desplay) to show within the tabs. So far I can only get it to apear outside of the tabs. Where ever i place the code ie under product name or under the attributes etc it will not show up only when its out of the tabs area.

Below is the code. Any idea how i can get this to show on the tab ?

Thanks
Shane

<?php $value = "ot_combination_discounts.php"; include_once(zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/order_total/', $value, 'false')); include_once(DIR_WS_MODULES . "order_total/" . $value); $discount = new ot_combination_discounts(); echo '<div class="content" id="combinationDiscountPolicy">'; $resp = $discount->get_discount_info($_GET['products_id'], $current_category_id); for ($i=0, $n=count($resp); $i<$n; $i++) { echo $resp[$i] . "<br />"; } echo '</div>'; // "reverse" discount logic echo '<div class="content" id="combinationDiscountPolicyReverse">'; $resp = $discount->get_reverse_discount_info($_GET['products_id'], $current_category_id); for ($i=0, $n=count($resp); $i<$n; $i++) { echo $resp[$i] . "<br />"; } echo '<br /></div>'; echo '<br class="clearBoth" />'; ?>

To get code in the tab, you will need to add it to the tpl_tabbed_products_lite.php file. I've PM'd you about some other modifications that I can help with too.

25 Jun 2007, 9:31 PM
#1033
kitten091182 avatar

kitten091182

Zen Follower

Join Date:
May 2007
Posts:
110
Plugin Contributions:
0

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

Hi, is there anyway i can have a scroll bar in one of my tabs? My first tab is product description, and one of my descriptions for my product is really long and trails down really far. I would like to put a scroll in my tab but dont know the html for it?

Also, even when i turn off global additional images, it still puts the additional images in a tab, how can i stop this?

Help would be greatly appreciated. :smile:

25 Jun 2007, 11:28 PM
#1034
qhome avatar

qhome

Totally Zenned

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

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

kitten091182:

Hi, is there anyway i can have a scroll bar in one of my tabs? My first tab is product description, and one of my descriptions for my product is really long and trails down really far. I would like to put a scroll in my tab but dont know the html for it?

Also, even when i turn off global additional images, it still puts the additional images in a tab, how can i stop this?

Help would be greatly appreciated. :smile:

You could add <textarea></textarea> code to your product description or hardcode it in the tpl_tabbed_products_lite.php file in the templates directory.

Got a link to your site to see the additional images problem?

26 Jun 2007, 2:08 PM
#1035
kitten091182 avatar

kitten091182

Zen Follower

Join Date:
May 2007
Posts:
110
Plugin Contributions:
0

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

site contains adult content

http://www.twistedtaboo.co.uk/store/index.php?main_page=product_info&products_id=218

this is a link to the page. As you can see, the additional image is in the tab even though it is turned to off. I wanted to integrate swap images in mouseover into my site, and so didnt want the images in the tabs. Although now after uploading the files for it to my server, it seems more trouble than it is worth!! So probably gona scrap it anyway. Would still like a solution for this problem though if possible?

26 Jun 2007, 5:40 PM
#1036
glitchbit avatar

glitchbit

New Zenner

Join Date:
Jun 2007
Posts:
4
Plugin Contributions:
0

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

Can this work with ZenMagick also?

26 Jun 2007, 10:56 PM
#1037
qhome avatar

qhome

Totally Zenned

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

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

glitchbit:

Can this work with ZenMagick also?

I don't really know what ZenMagick is. I've looked at the site a few times but I can't understand what it is based on its description.

26 Jun 2007, 11:11 PM
#1038
qhome avatar

qhome

Totally Zenned

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

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

kitten091182:

site contains adult content

http://www.twistedtaboo.co.uk/store/index.php?main_page=product_info&products_id=218

this is a link to the page. As you can see, the additional image is in the tab even though it is turned to off. I wanted to integrate swap images in mouseover into my site, and so didnt want the images in the tabs. Although now after uploading the files for it to my server, it seems more trouble than it is worth!! So probably gona scrap it anyway. Would still like a solution for this problem though if possible?

it would appear that you have either global additional images enabled, or a tag in the description. Verify that you have a "Configuration->Tabbed Products Config" area in your admin section with 12 config settings. Set the Global Additional Images on Tab to 0

27 Jun 2007, 2:57 AM
#1039
dermanomann avatar

dermanomann

New Zenner

Join Date:
Feb 2006
Location:
New Zealand
Posts:
146
Plugin Contributions:
1

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

glitchbit:

Can this work with ZenMagick also?

Yes and No. To understand why, let me explain a bit more what ZenMagick is (as there is obviously still need for clarification).

ZenMagick consists of two main blocks:

1) A object oriented API on top of the zen-cart database.

This is basically a collection of PHP classes that can be used to code things like this:

  $productService = new ZMProducts();
  $product = $productService->getProductForId(3);
  echo $product->getName();

Of course, there are much more methods to access nearly all data on products, accounts, addresses, the shoppingcart, etc.

Code like that above can be added anywhere in your code. This includes templates, header files, etc.

2) An alternative templating (themes) system.
This is a fully blown MVC (model-view-controller) based architecture that implements nearly all zen-cart templates files using the ZenMagick API.

There are quite some advantages:

  • Clean template code (no SQL)
  • Full control over the generated HTML - all HTML can be customized without touching any ZenMagick or zen-cart files.
  • File based page caching
  • Simple validation framework where both client side (JavaScript) and server side validation share a common configuration
  • Easy to extend
  • Plugin architecture (not finished yet :)
  • For more check the ZenMagick website and/or the ZenMagick Blog.

It is possible to use the API and some of the other features together with zen-cart templates. That means you can keep your existing templates, but build additional features using the ZenMagick API. In that case the mod will work together with ZenMagick.

If using the ZenMagick theme code, though, mods that include zen-cart template files will not work. Pure admin mods are not affected.

Hope this helps,

Cheers, mano

27 Jun 2007, 10:24 AM
#1040
kitten091182 avatar

kitten091182

Zen Follower

Join Date:
May 2007
Posts:
110
Plugin Contributions:
0

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

thats the thing, i havent got the global additional tabs set to on. ive toggled between on and off and it still shows inside the tabs. i havent added it as a tag in the description either. in " includes/templates/example_template/templates/template_product_info_display.php however, there is this code "<!--bof Additional Product Images -->

<?php if (!$bAdditionalImages && !$bsubtab_AdditionalImages) { require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); }?> <!--eof Additional Product Images -->

i dont know whether this is affecting it. i removed it however temporarily and the tab was still there.... there seems to be no way to get rid of it!!