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

Tabbed Products ''LITE'' version - Delimiter based

Locked

Views: 234,294

Results 741 to 760 of 1,190
This thread is locked. New replies are disabled.
10 Nov 2006, 12:54 PM
#741
qhome avatar

qhome

Totally Zenned

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

Tabbed Products ''LITE'' version - Delimiter based

aspudden:

Hi Folks,

I have the same problem with sql-base as Miles, but then i
run the sql-lines direct under sql-base om the server I did not
get any errors.

After I have copy files from contrib and I look in the product info
page it's empty, it's not show anything at all on the page.
And when I try merge my "tpl_product_info_display.php"
with the file from contrib
it's give me a error:

Parse error: parse error, unexpected $ in
includes/templates/template_default/templates/tpl_product_info_display.php on line 310

And in admin is Tabbed Products Config empty

I have not use override in this case..

This is a little different than miles' problem. I'm not sure how sql base works or if it is the same as mysql. I assume so if zc works as per usual, but not sure how it handles variables.

run these (ONE AT A TIME) in your sql admin area (i.e. phpmyadmin):

select * from configuration_group
WHERE configuration_group_title LIKE 'Tabbed Products Config';

and

select * from configuration
WHERE configuration_title LIKE 'Global Product Description Tab';

does the "configuration_group_id" match on both of those. If not what are the numbers on each?

The parse error means you missed something in the syntax while you were merging. I'd suggest you hold off on merging until you get it working with default code.

10 Nov 2006, 6:51 PM
#742
aspudden avatar

aspudden

Zen Follower

Join Date:
Dec 2004
Location:
Stockholm
Posts:
113
Plugin Contributions:
0

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

Hi qhome,

Yes, the numbers are same in both.

That I miss something when I merge it's probably tru.

When I copy the tpl_product_info_display.php from
contrib to "includes/templates/template_default/templates"
it's dosent show anything on the page.

Employing version 1.3.X

10 Nov 2006, 6:55 PM
#743
qhome avatar

qhome

Totally Zenned

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

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

aspudden:

Hi qhome,

Yes it's the same number in both.

That I miss something when I merge it's probably tru.

When I copy the tpl_product_info_display.php from
contrib to "includes/templates/template_default/templates"
it's dosent show anything on the page.

If the number is the same in both I dont understand why you dont see anything in the admin->tabbed products config menu, as that number links them together.

You will get a blank on the store product page until you have the correct database entries because it doesn't know what settings it needs to read yet so it is failing when it can't find those values.

SQL must be correctly installed for this contrib to work.

For now, you can also use the non-database version of the module file I mentioned above to get up and running. I'm not sure why you guys are having db problems. I've run it a dozen times with no errors. Perhaps try running it in phpmyadmin.

10 Nov 2006, 7:43 PM
#744
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

qhome:

That would require some template file editing, both of the tpl_product_info_display.php file and tpl_tabbed_products_lite.php.

They are structured similarly, so you can edit the first file listed and find the "Product Details" stuff. Then cut that and paste it in the second file. BELOW this line:

<!--eof Product details list -->
    <br class="clearBoth" />
> 
> Repeat for anything else you want away from the image and title.

Qhome, finally installed this and I must say it's excellent. I was wondering what the easiest approach would be to achive this two goals:

1. Remove the "Tell A Friend" button from the product display page. It's redundant because I have the Tell A Friend sidebox on.

2. Move the Add to Cart button about the Tabs. Because most of our products have extensive description, the Add to Cart is buried too low on the screen. Besides, it will be customer friendly to have it on top for those customers that do not need to read description, they can easily add things to cart. I know you created a custom file for Stephen for version 3.3. Is that still available and applicable to v3.8.

Just trying to figure out the most efficient way to do this since I have to do it in 5templates for each product type.

Thanks!
10 Nov 2006, 8:31 PM
#745
qhome avatar

qhome

Totally Zenned

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

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

BlessIsaacola:

Qhome, finally installed this and I must say it's excellent. I was wondering what the easiest approach would be to achive this two goals:

  1. Remove the "Tell A Friend" button from the product display page. It's redundant because I have the Tell A Friend sidebox on.

  2. Move the Add to Cart button about the Tabs. Because most of our products have extensive description, the Add to Cart is buried too low on the screen. Besides, it will be customer friendly to have it on top for those customers that do not need to read description, they can easily add things to cart. I know you created a custom file for Stephen for version 3.3. Is that still available and applicable to v3.8.

Just trying to figure out the most efficient way to do this since I have to do it in 5templates for each product type.

Thanks!

Hi Blessisacola,

  1. In Admin->Product Types->Edit Layout there is a setting called:
    Show Product Tell a Friend button. Set that to 0 and it will turn it off on the page, but leave the sidebox one.

  2. Assuming you will have the main image above the tabs too, then you can find: (around line 141)

<!--bof Add to Cart Box -->
<?php 
if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
  // do nothing
} else {
  $display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '');
  if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) {
    // hide the quantity box and default to 1
    $the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
  } else {
    // show the quantity box
    $the_button = PRODUCTS_ORDER_QTY_TEXT . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '<br />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
  }
  $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button);
  if ($display_qty != '' or $display_button != '') { ?>
    <div id="cartAdd">
    <?php
      echo $display_qty;
      echo $display_button;
    ?>
    </div>
  <?php } // display qty and button ?>
<?php } // CUSTOMERS_APPROVAL == 3 ?>
<!--eof Add to Cart Box-->

cut that and paste it underneath:

<!--bof Product Name-->
<h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1>
<!--eof Product Name-->
11 Nov 2006, 1:50 AM
#746
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

qhome:

Hi Blessisacola,

  1. In Admin->Product Types->Edit Layout there is a setting called:
    Show Product Tell a Friend button. Set that to 0 and it will turn it off on the page, but leave the sidebox one.

  2. Assuming you will have the main image above the tabs too, then you can find: (around line 141)

<!--bof Add to Cart Box --> <?php if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') { // do nothing } else { $display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : ''); if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) { // hide the quantity box and default to 1 $the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } else { // show the quantity box $the_button = PRODUCTS_ORDER_QTY_TEXT . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '<br />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button); if ($display_qty != '' or $display_button != '') { ?>
<div id="cartAdd">
<?php
  echo $display_qty;
  echo $display_button;
?>
</div>
<?php } // display qty and button ?> <?php } // CUSTOMERS_APPROVAL == 3 ?> <!--eof Add to Cart Box-->
> cut that and paste it underneath:
> ```
<!--bof Product Name-->
<h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1>
<!--eof Product Name-->

That was pretty easy. Thank you! I ended up placing the code after this:

<!--bof free ship icon  -->
<?php if(zen_get_product_is_always_free_shipping($products_id_current)) { ?>
<div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
<?php } ?>
<!--eof free ship icon  -->

It looks better there. For some reason it the Add to Cart box wasn't floating the right when placed after the product name. Hopefully, this doesn't cause any functionality problem. If you think I need to correct something please let me know.

Thanks again for this fabulous mod. Makes the site look so professional. I will migrate it live in the next few hours.

11 Nov 2006, 3:18 AM
#747
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

Qhome, where can I change the configuration so that the default tabs are wrapped. I looked includes/module and I do not see where to make the changes. Customer Also Purchased and We Also Recommend are not wrapping out of the box.

Thanks!

11 Nov 2006, 5:35 AM
#748
qhome avatar

qhome

Totally Zenned

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

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

BlessIsaacola:

Qhome, where can I change the configuration so that the default tabs are wrapped. I looked includes/module and I do not see where to make the changes. Customer Also Purchased and We Also Recommend are not wrapping out of the box.

Thanks!

You change wrapping by adding <br /> to the language file in between words

define('TEXT_TAB_TITLE_PROD_DESC', 'Product Description');
define('TEXT_TAB_TITLE_ADD_TO_CART', 'Add To Cart');
define('TEXT_TAB_TITLE_ADDITONAL_IMAGES', 'Additional Images');
define('TEXT_TAB_TITLE_CUST_ALSO_PURCHASED', 'Customers Also Purchased');

becomes

define('TEXT_TAB_TITLE_PROD_DESC', 'Product<br />Description');
define('TEXT_TAB_TITLE_ADD_TO_CART', 'Add To<br />Cart');
define('TEXT_TAB_TITLE_ADDITONAL_IMAGES', 'Additional<br />Images');
define('TEXT_TAB_TITLE_CUST_ALSO_PURCHASED', 'Customers Also<br />Purchased');

You can add any html code you want in the tab names.. images, styles, even some tiny flash code if you so choose :)

11 Nov 2006, 6:20 AM
#750
qhome avatar

qhome

Totally Zenned

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

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

getyourgameshere.com:

hey qhome, your demo is broken :P http://www.unbannable.com/zen/index.php?main_page=product_info&cPath=1&products_id=1

tabs appear all screwy

Actually thats my work in progress for my next release :P But not to worry. I am not planning any feature changes.. just some slightly different layouts for the tabs. They will be 3.8 based.

12 Nov 2006, 10:32 AM
#751
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

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

Need to see if anyone is seeing something wrong that I cannot see here

Cant seem to find the hole that is causing the misalignment.

Any help is appreciated.

Thanks in advance

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

12 Nov 2006, 2:39 PM
#752
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

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

knuckle-101:

Need to see if anyone is seeing something wrong that I cannot see here

Cant seem to find the hole that is causing the misalignment.

Any help is appreciated.

Thanks in advance

You have some really odd table issues going on. What version of zen cart are you using? i much prefer the newer version with less tables. Anyhoo... you have an issue with closing a table row that doesn't exist, and then starting a row that isn't closed. You'll have to find where theses issues are in your template files, unless you added these in the product description. WHen using firefox, if I use the edit HTML function, and change this:

Four coasters on each illustrated blistercard.</font></p></div></div></div></div></form></div>
<font color="#000000" face="verdana" size="2">Winky Pink<br>Elephant Coasters<br>
Item 10691<br>
Set of 4
</font>

To this:

That seems to stop the issue.

12 Nov 2006, 4:04 PM
#753
qhome avatar

qhome

Totally Zenned

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

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

knuckle-101:

Need to see if anyone is seeing something wrong that I cannot see here

Cant seem to find the hole that is causing the misalignment.

Any help is appreciated.

Thanks in advance

This doesn't seem to be a tabbed lite issue, more so of other design mistakes. backtrack your steps until you find the problem or use winmerge to compare to default tabbed template and slowly add your customizations.

12 Nov 2006, 5:42 PM
#754
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

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

Yes, I just figured that out, it just seemed bad timing when I installed it and that appeared.

Just making sure , I couldnt find any solutions. But it was 5:30 am when I noticed this after a 17 hour shift at work and that to go with it didnt make a good cup of tea. But thanks for the help.

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

12 Nov 2006, 8:51 PM
#755
mat123slade avatar

mat123slade

Zen Follower

Join Date:
Nov 2005
Location:
France - Limoges
Posts:
90
Plugin Contributions:
0

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

Hi,

I've been using this great contrib on Zencart 1.3.5 and it's really good looking and makes information great to browse for my customers. I've just updated another one of my websites from zencart 1.3.5 to 1.3.6 that was not using the contribution and installing the contribution to this feshly upgraded Zencart does not seem to work. Is there some tweeking to be done ? I'm guessing it's quite possible that there might be as quite a lot of the templating code has been updated with v 1.3.6.

Do you happen to have any info on this ?

Thanks in advance.

13 Nov 2006, 3:14 AM
#756
qhome avatar

qhome

Totally Zenned

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

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

mat123slade:

Hi,

I've been using this great contrib on Zencart 1.3.5 and it's really good looking and makes information great to browse for my customers. I've just updated another one of my websites from zencart 1.3.5 to 1.3.6 that was not using the contribution and installing the contribution to this feshly upgraded Zencart does not seem to work. Is there some tweeking to be done ? I'm guessing it's quite possible that there might be as quite a lot of the templating code has been updated with v 1.3.6.

Do you happen to have any info on this ?

Thanks in advance.

There were no template changes for 1.3.6 so Tabbed Lite is fully compatible. What kind of problems are you having? Do you have a link you could PM me?

13 Nov 2006, 2:05 PM
#757
aspudden avatar

aspudden

Zen Follower

Join Date:
Dec 2004
Location:
Stockholm
Posts:
113
Plugin Contributions:
0

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

Hi qhome,

I have now succeed to display tabbed in product info page,
efter that I add "prefix_" to tables in sql file and run it in
SQL Query Executor in Zen after that take the "prefix_" off again
and try again and it works. Why?? I don't know just now.

But I can't still see more than just the menu "title, value and action" under
Tabbed Products Config.. If there is someone how could show me a print screen
from admin side too, or MP...

meny thanks ..
Asp..

Employing version 1.3.X

13 Nov 2006, 3:25 PM
#758
poosk avatar

poosk

Totally Zenned

Join Date:
Mar 2005
Location:
Helsinki
Posts:
477
Plugin Contributions:
0

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

Hello all.. umm I seem to be 76 pages late on this one.. but now that I'm trying to jump on the wagon everyone seems to be ten versions ahead with zen aswell.. so if anyone can point me where I'd find this mod for 12.7 let me know. Thanks

13 Nov 2006, 4:12 PM
#759
qhome avatar

qhome

Totally Zenned

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

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

poosk:

Hello all.. umm I seem to be 76 pages late on this one.. but now that I'm trying to jump on the wagon everyone seems to be ten versions ahead with zen aswell.. so if anyone can point me where I'd find this mod for 12.7 let me know. Thanks

in my signature is always the latest and greatest. Works with all 1.3.x versions to date

14 Nov 2006, 9:50 PM
#760
poosk avatar

poosk

Totally Zenned

Join Date:
Mar 2005
Location:
Helsinki
Posts:
477
Plugin Contributions:
0

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

but I'm still on 1.2.7...