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

Free Gifts Module

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 02-25-2006, 06:54 AM
 
m.higgins m.higgins is offline
 

Newbie
  
Join Date: Feb 2006
Posts: 7
 

Default Does this work for 4.0.17??

I have just tried to install this MOD, all looks fine untill I try and add a free gift?

I get this error...

Quote:
Fatal error: Call to undefined function: func_product_exists_is_avail() in /home/usr/public_html/store/provider/freegifts.php on line 10

I am no php expert, so I was wondering if this was because it wouldn't work on vers 4.0.17??
__________________
version 4.0.19
php 5
Reply With Quote
  #22  
Old 02-25-2006, 07:58 AM
 
MonkeyClan MonkeyClan is offline
 

Member
  
Join Date: May 2004
Posts: 12
 

Default

there's no guarantee that it would work in 4.0... don't know if anyone has tried it... but the error you're getting is referring to a function that should've been added to func.php... check it over and make sure you edited it properly...
__________________
--
X-Cart Version 4.4 [unix]
Reply With Quote
  #23  
Old 03-02-2006, 04:45 PM
 
DVDirect DVDirect is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 35
 

Default

Hi MonkeyClan,

I have been searching the forums for days looking for a mod that would allow me to offering demo software for free ut they still have to register. Do you think your mod could be modified to do that?

Cheers,
Andrew
__________________
X-Cart v4.0.15
MMPro
EZy Checkout
Rewards Points
Heavily modified back end
Reply With Quote
  #24  
Old 03-02-2006, 07:25 PM
 
MonkeyClan MonkeyClan is offline
 

Member
  
Join Date: May 2004
Posts: 12
 

Default

Yeah it could... Depends on how well you know your way around the code and what version you are using...
__________________
--
X-Cart Version 4.4 [unix]
Reply With Quote
  #25  
Old 03-08-2006, 02:10 AM
 
Lionel Lionel is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 199
 

Default

I have a hard time implementing this on 4.18. product.tpl has changed a lot
__________________
X-Cart Gold 4.0.17 [unix]
X-Cart Gold 4.0.18 [unix]
Reply With Quote
  #26  
Old 03-27-2006, 05:46 AM
 
shirtshop shirtshop is offline
 

Senior Member
  
Join Date: Nov 2002
Posts: 127
 

Default

i only want to display (when a customer buy 3 products) that we give 1 product of our choise as gift. How can i handle this?
__________________
ver 3.5.10 with a lot of customizing
now testing 4.4.1 smartytemplate
Reply With Quote
  #27  
Old 03-29-2006, 04:24 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Without going through the whole code, is this turn on and offable.(new word for today)

I.e when we have finished a free gift promotion we can just turn it off and all will be back to normal (or is it if you delete the free gift it turns back to normal)
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #28  
Old 03-29-2006, 06:36 AM
 
MonkeyClan MonkeyClan is offline
 

Member
  
Join Date: May 2004
Posts: 12
 

Default

I made this mod as a quick solution and posted the code on the forum to help people out. But it is by no means a easy-to-implement, self-contained mod and you'll definitely run into problems if installing on 4.0. There is no on-off feature but that's the point of mods - you can further mod them yourself to make them work how you want them to.
__________________
--
X-Cart Version 4.4 [unix]
Reply With Quote
  #29  
Old 03-29-2006, 06:45 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

K, was just asking because i was going to ask x-cart for the same sort of mod anyway.

Cheers
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #30  
Old 03-29-2006, 06:58 AM
 
balinor balinor is offline
 

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

Default

It is a great mod that is very flexible, I highly recommend it
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 11:33 AM.

   

 
X-Cart forums © 2001-2020