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

Upselling Products module modification

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #81  
Old 02-23-2005, 12:06 PM
 
joestern joestern is offline
 

Senior Member
  
Join Date: Apr 2004
Posts: 187
 

Default

For $40, I'm going to try it.... hopefully it will integrate into my cart. I know it's different from excheckout, but my impression was that excheckout was more-or-less required to use it. Hopefully I'm wrong.
__________________
X-Cart version 4.7.12
Reply With Quote
  #82  
Old 02-23-2005, 12:11 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Nope, not required. I can be installed independent of the other mods. Nice little bit of code.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #83  
Old 02-25-2005, 11:32 AM
 
happy5ru happy5ru is offline
 

Member
  
Join Date: Feb 2005
Posts: 17
 

Default

Quote:
Originally Posted by andreas04031
Great, it looks really nice now.
What I still have is the strange alt tag message, do you guys see the same? Andy


PremiumPonyParts, thanks for fixing the table problem.

I just looked at your site and I found the same alt tag problem. Look at your code line 1139:
<a href="product.php?productid=1975" target="_blank">[img]/image.php?productid=1975[/img]Warning[/b]: htmlspecialchars() expects parameter 1 to be string, array given in /home/premiump/public_html/Smarty-2.6.3/plugins/modifier.escape.php on line 25

Array" border="0"></a>

and your Buy Now button doesn't work, I get an JavaScript Error:
line 1160 and 1219


I have the same thing showing up as an alt tag...r eally annoying. I don't have the buy button, just the thumbnail and a product name, but the ALT tag was this screwy in all the forms ( with the buys button, with the full decsription). I wonder why... Can anyone figure it out??? I'm not good at those things at all Thanks!
__________________
Elena
XCart 4.011
Reply With Quote
  #84  
Old 02-25-2005, 11:52 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

What on earth does that have to do with this thread?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #85  
Old 02-25-2005, 12:51 PM
 
happy5ru happy5ru is offline
 

Member
  
Join Date: Feb 2005
Posts: 17
 

Default

What do you mean? It has everything to do with it. After the modification from the post, some people have alt tags showing up with an error message.
__________________
Elena
XCart 4.011
Reply With Quote
  #86  
Old 02-25-2005, 12:54 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Sorry...been a long day...had too many threads open
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #87  
Old 02-25-2005, 12:55 PM
 
happy5ru happy5ru is offline
 

Member
  
Join Date: Feb 2005
Posts: 17
 

Default

Anyway, i figured it out.
Probably not in the most "p-r-o" way, but it's fine now.
I just cut out the contents of the product_thumbnail.tpl right into the related_products.tpl ( in the row where the thumbnail has to go) and changed the alt tag var from {$product|escape} to ="{$product_links[cat_num].product|escape}
Seems to work perfectly... But I don't know, I'm not one of those pros...
__________________
Elena
XCart 4.011
Reply With Quote
  #88  
Old 02-25-2005, 01:03 PM
 
happy5ru happy5ru is offline
 

Member
  
Join Date: Feb 2005
Posts: 17
 

Default

It's ok... don't worry!
__________________
Elena
XCart 4.011
Reply With Quote
  #89  
Old 03-09-2005, 07:56 PM
 
mustang mustang is offline
 

eXpert
  
Join Date: Nov 2003
Location: US
Posts: 210
 

Default

Quote:
Originally Posted by happy5ru
Anyway, i figured it out.
Probably not in the most "p-r-o" way, but it's fine now.
I just cut out the contents of the product_thumbnail.tpl right into the related_products.tpl ( in the row where the thumbnail has to go) and changed the alt tag var from {$product|escape} to ="{$product_links[cat_num].product|escape}
Seems to work perfectly... But I don't know, I'm not one of those pros...

Thanks for this Elena! Fixed it right up.
__________________
X-Cart Gold 4.2.3
-----
PHP 5.2.17 | MySQL 5.1.52
Reply With Quote
  #90  
Old 03-10-2005, 07:10 AM
 
happy5ru happy5ru is offline
 

Member
  
Join Date: Feb 2005
Posts: 17
 

Default

You're welcome. Glad I could help ( me who knows nothing about programming )!
__________________
Elena
XCart 4.011
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


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 04:13 AM.

   

 
X-Cart forums © 2001-2020