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
  #41  
Old 06-25-2006, 05:22 AM
 
Jiser Jiser is offline
 

Senior Member
  
Join Date: Oct 2004
Posts: 118
 

Default

Funny! We created almost exactly the same mod Only one extra thing: The customer gets on cart.php the message: Based on your cart-total you have X products to choose from !
__________________
x-cart 4.05
Linux CENTOS
APACHE
Heavily customized
Reply With Quote
  #42  
Old 07-01-2006, 10:59 AM
 
MallRomania MallRomania is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 109
 

Default

Please can somebody post full modifications here? i still have errors so some information might help me.

Thank you
__________________
Mircea Teleleu
Shopedia.ro-la cumparaturi
www.shopedia.ro
______________________
x-cart gold 4.1.6
Linux
Reply With Quote
  #43  
Old 07-01-2006, 11:06 AM
 
balinor balinor is offline
 

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

Default

The original code posted is the correct code.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #44  
Old 07-30-2006, 09:49 PM
 
GHP GHP is offline
 

Newbie
  
Join Date: May 2005
Posts: 1
 

Default

Quote:
Originally Posted by balinor
The original code posted is the correct code.

Yup...works perfect. I've installed this mod on 3 carts already including versions 4.0.13, 4.0.14 & 4.0.18. Just back for a little reference on the fourth v 4.0.18 and it to went fine too.

This is a great modБ─╕
__________________
GH
v 4.0.18 :: Gold x 2
v 4.0.14 :: Gold
v 4.0.13 :: Gold
Reply With Quote
  #45  
Old 09-12-2006, 09:54 PM
 
candleshopcreations candleshopcreations is offline
 

Senior Member
  
Join Date: Aug 2006
Location: Okinawa
Posts: 118
 

Default Re: Free Gifts Module

I have questions for you 4.0.18 users. Balinor says the correct code is posted, but it sounds like some of you have made changes. I do not follow some, if anyone who has done this is still following this thread, would you please provide more info if possible?

THREAD-I've got this working on 4.18. Only step 10 gives me a hard time. The quantity box in cart displays no matter what.

there is also cart_details.tpl that needs step 10.

got it. I was comparing against product instead of prod_num

ME-same problem, but i do not understand the answer. do i replace the instances of product in that bit of code with prod_num? or in other spots?

next...

i have another problem which i do not know if i did it during this mod or another and just didnt notice it. any input here is appreciated!

the products and inventory menus in the admin are broke. iwas moving around stuff earlier and created a search box in my side menus. that sounds more likely to me than what i did with this mod. sound correct? or am i off base.

another problem: i tried to restore from backup (made right before i took up the free mod quest) and it says it works... but it really doesnt. any idea why? same with my back up from cpanel for the sql db. it loaded xcart_4 db which was empty.

---->
STEP 5
--------
Add the redirect call in skin1/single/home.tpl just below Coupons for consistency.
Code:
{elseif $main eq "coupons"}
{include file="modules/Discount_Coupons/coupons.tpl"}

{elseif $main eq "freegifts"}
{include file="provider/main/freegifts.tpl"}

could me doing something wrong here break my admin menus?

thanks. and thanks especially if i ask this and the answer is staring me in the face.
__________________
Andrea
www.candleshopcreations.com

Xcart 4.3.2
Mac OSX 10.6.5
EWD Hosting
Mailchimp Mod, On Sale,
One Page Checkout, Mobile
Reply With Quote
  #46  
Old 09-13-2006, 05:15 AM
 
candleshopcreations candleshopcreations is offline
 

Senior Member
  
Join Date: Aug 2006
Location: Okinawa
Posts: 118
 

Default Re: Free Gifts Module

well i dont know what i changed last night, but the admin menus work now. still working on the rest.
__________________
Andrea
www.candleshopcreations.com

Xcart 4.3.2
Mac OSX 10.6.5
EWD Hosting
Mailchimp Mod, On Sale,
One Page Checkout, Mobile
Reply With Quote
  #47  
Old 09-13-2006, 07:55 AM
 
candleshopcreations candleshopcreations is offline
 

Senior Member
  
Join Date: Aug 2006
Location: Okinawa
Posts: 118
 

Default Re: Free Gifts Module

making some progress, but i think i have smarty issues. nothing shows up on the cart.
__________________
Andrea
www.candleshopcreations.com

Xcart 4.3.2
Mac OSX 10.6.5
EWD Hosting
Mailchimp Mod, On Sale,
One Page Checkout, Mobile
Reply With Quote
  #48  
Old 08-24-2007, 11:19 AM
 
cuddlemykitty cuddlemykitty is offline
 

Newbie
  
Join Date: Jun 2007
Posts: 2
 

Default Re: Free Gifts Module

Great Mod! I was thinking of writing one like this but I still haven't got my head completely around the Smarty tags just yet. I am having one small problem that I can't seem to find an answer for...

In Step 7:

Your subtotal is ${$offerFreeGifts[ofg].minimum_price} or more. To receive a free {$offerFreeGifts[ofg].product}, click here

The "Click Here" link does not come across with any code...
This could be up to me and if so, just say so.
But as I am no expert with the smarty tags stuff, if someone has the code for that section I would greatly appreciate it.

Thanks and once again, Great Mod!
Steve

__________________
Version 4.1.8
Reply With Quote
  #49  
Old 08-30-2007, 11:38 AM
 
akuawood akuawood is offline
 

Senior Member
  
Join Date: Jul 2007
Location: Caversham
Posts: 125
 

Default Re: Free Gifts Module

**Bumping this**

Is there any Mod for version 4.1.8?
__________________
X-Cart Gold-4.5.5
Sheabutter Cottage
Reply With Quote
  #50  
Old 09-05-2007, 11:43 PM
 
Freakmode Freakmode is offline
 

X-Adept
  
Join Date: Jun 2003
Location: UK
Posts: 696
 

Default Re: Free Gifts Module

We too would be intersted in this mod for 4.1.

If there is not a free one happy to pay for a completed mod if one exists.
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
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 01:15 PM.

   

 
X-Cart forums © 2001-2020