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

Showing Accessories for Product(s)

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 10-30-2005, 08:07 PM
 
Amy Amy is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 147
 

Default

almost got it!

Warning: main(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /xxx/store/templates_c/%%E5^E5B^E5BB4BE6%%subaccessphp.tpl.php on line 48

Warning: main(http://change-to-your-store.com/cart/subaccess.php?cat=263&tm=&accprod=A+Real+Boy+Page+ Kit): failed to open stream: Success in /xxx/store/templates_c/%%E5^E5B^E5BB4BE6%%subaccessphp.tpl.php on line 48

Warning: main(): Failed opening 'http://change-to-your-store.com/cart/subaccess.php?cat=263&tm=&accprod=A+Real+Boy+Page+ Kit' for inclusion (include_pat in /xxx/store/templates_c/%%E5^E5B^E5BB4BE6%%subaccessphp.tpl.php on line 48
__________________
X-Cart Pro 4.0.19; Unix

Other:
XAOM
XOffers
XGift Reg

Other Mods:
Customers Who Also Bought, Download Link Regenerate, Easy Checkout, Newest Products, SEO/CDSEO, Marketing Manager Pro, View Wishlist for Providers (custom by xcart), Email New Releases (a fav!), Telefirma's Dynamic Image Generator, Download Links on Invoice
Reply With Quote
  #12  
Old 10-30-2005, 08:18 PM
 
Amy Amy is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 147
 

Default

ok - got those fixed; but now:

Fatal error: Smarty error: [in subaccess/subaccessphp.tpl line 26]: syntax error: invalid attribute name: '($current_category["category_location"]' (Smarty_Compile in /home/scrapboo/public_html/store/Smarty-2.6.9/Smarty.class.php on line 1088
Reply With Quote
  #13  
Old 10-30-2005, 10:29 PM
  anoack's Avatar 
anoack anoack is offline
 

Senior Member
  
Join Date: Dec 2002
Location: Austin, TX
Posts: 113
 

Default

okay, I don't know how diffrent your version is from mine but try this.

1) Delete your subaccess.php file.
2) Make a copy of home.php and name it subaccess.php
3) Open up subaccess.php and add this code right before func_display near the bottom.
Code:
$smarty->assign("tm", $tm); $smarty->assign("accprod", $accprod);
4) While still in subaccess.php find this:
Code:
func_display("customer/home.tpl",$smarty);
and replace it with this:
Code:
func_display("subaccess/subaccessdiag.tpl",$smarty);

Let me know...
__________________
X-Cart: 4.0.13 [Linux]
Reply With Quote
  #14  
Old 10-31-2005, 03:35 AM
 
Amy Amy is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 147
 

Default

thanks - will give it a try once my morning coffee has set in
Reply With Quote
  #15  
Old 11-04-2005, 11:46 AM
  anoack's Avatar 
anoack anoack is offline
 

Senior Member
  
Join Date: Dec 2002
Location: Austin, TX
Posts: 113
 

Default

I was wondering if the above worked for you Amy.
__________________
X-Cart: 4.0.13 [Linux]
Reply With Quote
  #16  
Old 11-07-2005, 07:19 AM
 
Lucent88 Lucent88 is offline
 

Senior Member
  
Join Date: Aug 2005
Posts: 147
 

Default

anyone got it to work on v4.0.16?
__________________
X-Cart Gold 4.0.17
Reply With Quote
  #17  
Old 11-07-2005, 08:14 AM
 
Amy Amy is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 147
 

Default

I'm actually going to try it again tonight. Will post an update
__________________
X-Cart Pro 4.0.19; Unix

Other:
XAOM
XOffers
XGift Reg

Other Mods:
Customers Who Also Bought, Download Link Regenerate, Easy Checkout, Newest Products, SEO/CDSEO, Marketing Manager Pro, View Wishlist for Providers (custom by xcart), Email New Releases (a fav!), Telefirma's Dynamic Image Generator, Download Links on Invoice
Reply With Quote
  #18  
Old 11-07-2005, 08:21 AM
 
Lucent88 Lucent88 is offline
 

Senior Member
  
Join Date: Aug 2005
Posts: 147
 

Default

Great looking forward to know the update!!
__________________
X-Cart Gold 4.0.17
Reply With Quote
  #19  
Old 01-30-2006, 04:16 PM
  eaglemobiles's Avatar 
eaglemobiles eaglemobiles is offline
 

Senior Member
  
Join Date: Jan 2005
Posts: 167
 

Default

Is there any way to add check box instead of buy now button. Customer select check box and use the main product buy now button?
__________________
X-Cart Gold 4.3.2
X-Cart Gold 4.4.1
Unix

High Quality CCTV DVRs & Cameras
http://www.eaglemobiles.co.uk/CCTV
Reply With Quote
  #20  
Old 01-30-2006, 07:16 PM
  anoack's Avatar 
anoack anoack is offline
 

Senior Member
  
Join Date: Dec 2002
Location: Austin, TX
Posts: 113
 

Default

Yes im pretty sure it can be done. It might take some time but it can be done. let me know if you want it done and I can modify it for you.
__________________
X-Cart: 4.0.13 [Linux]
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 03:15 PM.

   

 
X-Cart forums © 2001-2020