Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

DIY Tabbed Content Menu for Product Page
 
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features
 
Thread Tools Search this Thread
  #21  
Old 01-03-2005, 12:16 AM
 
Jerrad Jerrad is offline
 

X-Adept
  
Join Date: Nov 2004
Location: The Netherlands
Posts: 484
 

Default

Thanks alot soleaq - that works great!!
Not bad for a "newb"...

Any ideas yet how to deal with the IF statements?
I think it's very important that the tabs without content
don't show so that customers don't click on empty tabs.

Thanks again for sharing your code!
__________________
X-Cart 4.0.12
Heavy modified with paid, free and forum mods.
PHP 5.2.5 | MYSQL 5.0.51a
Reply With Quote
  #22  
Old 01-03-2005, 12:52 AM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default

PhilJ,

I have a question for you or anyone sle posting in this thread.

I am trying to implement a copy of Boomers Product Enquiry and his send to friend add ons into this script.

Boomer has these scripts set up in stages so that the fiorst stage is the base email setting, the second would show what the email will appear as and the third is letting customer know if the email was sent successfully.

For some reason, when I add these into the tab script, it jumps straight to the sent notification of the add on as if it was already completed with info added etc.

Any idea what I may be doing wrong here?

I love the tab script, it works great. Problem is after I add the two email scripts.

I know this can be done, I have seen it in action, just don't know the scripts well enough to know what I am missing here.


Thanks to all that may help.
__________________
vs 4.1.12
Reply With Quote
  #23  
Old 01-03-2005, 03:50 AM
  PhilJ's Avatar 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Location: UK
Posts: 3,571
 

Default

markwhoo, I wouldn't advise using those mods within the tabs mod. The 'send to friend' in v4 should work fine in the tabs. I can help you with the 'enquire about this product'. PM if interested.
Reply With Quote
  #24  
Old 01-03-2005, 06:33 PM
 
soleag soleag is offline
 

Member
  
Join Date: Mar 2004
Posts: 16
 

Default

Quote:
Originally Posted by Jerrad
Thanks alot soleaq - that works great!!
Not bad for a "newb"...

Any ideas yet how to deal with the IF statements?
I think it's very important that the tabs without content
don't show so that customers don't click on empty tabs.

Thanks again for sharing your code!

Thanks for the kind words! Thanks PhilJ for the original code!

Just a note, someone sent me a message asking how to turn the "persistence" on the tabs off.

In tabs.js, find the line below and change "true" to "false"

Code:
//Dynamicdrive.com persistence feature add-on ///////////////////////////////////////////// var enablepersistence=true //true to enable persistence, false to turn off (or simply remove this entire script block).

This will turn persistence off, so when your customer hits a new product page, the default tab you selected at the top of the tabs.js file will show.

I have it set so the "Overview" tab always shows first.
__________________
X-Cart 4.0.9: Development Mode
Reply With Quote
  #25  
Old 01-03-2005, 11:36 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

This might sound silly, but will it hurt search engine ranking because the recommended product list for example is hidden? Thanks.
__________________
--------------------
X-Cart Gold 4.1.11
Linux/Apache
--------------------
Reply With Quote
  #26  
Old 01-04-2005, 12:16 AM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default

Quote:
Originally Posted by bluecat
This might sound silly, but will it hurt search engine ranking because the recommended product list for example is hidden? Thanks.

Actually I do not think so.

This mod will work in php base AND it is functional as HTML, so it will just be another link as it already is on the main page.

Just looks cleaner is all. Pages will load faster, switching between tabs is lightening fast.

great addition I think
__________________
vs 4.1.12
Reply With Quote
  #27  
Old 01-04-2005, 05:15 AM
 
ghhoz ghhoz is offline
 

Advanced Member
  
Join Date: Oct 2004
Posts: 40
 

Default

Thanks for sharing a great mod. Works fine for me

Cheers
__________________
Cheers from Melanie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Xcart V4.0.4 (Unix) - LIVE
AOM, Fancy Categories
Marketing Manager,
Reward Points & Refer Rewards
Advanced Site Map
Easy Checkout

Gift & Homeware House
www.giftandhomewarehouse.com.au
Reply With Quote
  #28  
Old 01-04-2005, 07:43 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

Quote:
Originally Posted by markwhoo
Quote:
Originally Posted by bluecat
This might sound silly, but will it hurt search engine ranking because the recommended product list for example is hidden? Thanks.

Actually I do not think so.

This mod will work in php base AND it is functional as HTML, so it will just be another link as it already is on the main page.

Just looks cleaner is all. Pages will load faster, switching between tabs is lightening fast.

great addition I think

Thank you.
__________________
--------------------
X-Cart Gold 4.1.11
Linux/Apache
--------------------
Reply With Quote
  #29  
Old 01-04-2005, 08:52 AM
  dalmuti's Avatar 
dalmuti dalmuti is offline
 

eXpert
  
Join Date: Oct 2004
Location: Kansas
Posts: 343
 

Default

Quick Question about adding product descriptions.

All my descriptions are set in the "short description".

Instead of using this:

Quote:
{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{ /if}

Would it be this:
{if $product.descr ne ""}{$product.descr}{else}{/if}

I would like to add the short description to the product summary tab.....anyone give me a hint. I am just learning.

Thanks,

Louise
__________________
Louise

Studio 57 Designs - X-Cart Customization
Providing X-Cart Services since 2004
Hottest Blog Directory - Submit Your Blog for a Free Listing
Reply With Quote
  #30  
Old 01-04-2005, 09:00 AM
  PhilJ's Avatar 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Location: UK
Posts: 3,571
 

Default

Code:
{$product.descr}

will suffice
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:10 PM.

   

 
X-Cart forums © 2001-2018