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

Block Membership Level Mod

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 05-13-2004, 03:41 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default Block Membership Level Mod

Quote:
Originally Posted by MOC
We dont have XCART PRO, but maybe that would help a little bit. This is how how we suspend customers, when the customer is due:

1. We have added a Membership Level called "Blocked"
- we use this after we had to to sent out a payment reminder

2. We have added a 2nd Membership Level called "Blocked2"
- this is used after our payment reminder (10 days later) and received no payment or contact from the customer

1. Blocks the Checkout Feature, customer can add to the cart but not further.
2. Blocks the whole shop after the customer logs in.

For 1. we placed the following code, before the code of the checkout starts:

Code:
{if ($userinfo.membership eq "Blocked") AND ($usertype eq "C")}{else}{/if}

Before the {else} statement you could place your text or something like that. The else statement should be placed before the original code starts. the {/if} place at the end of the file.

The same code we used for the 2nd Membership level, this code was placed in home.tpl before the original code starts.

Maybe it works if you change the C to P or whatever the Provider will be called.

Hope, that'll help

SASKIA

This was posted by user MOC (SASKIA) in the Wishlist forum as part of another thread. Excellent answer, it fills a need I have been search the board for all day.

Thanks Saskia! I posted here because I am sure a LOT of users will find this info useful. I will be using this to block deadbeat customers (COD fraud) from placing another order!
Reply With Quote
  #2  
Old 05-13-2004, 04:52 PM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

Nice simple way of doing it
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
  #3  
Old 05-13-2004, 07:28 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

I could just create a new account or use anonymous checkout to place orders. Personally I would go straight for the neck, and .htaccess block the IP or subnet if the user attempts enough from the same block of ip's.

Cool mod none-the-less.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #4  
Old 05-13-2004, 07:32 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

True but I offer COD service and this is great for letting the customer know that they will not be able to order until matters are cleared up.

I also like the homepage ban because it will be very confusing to MOST lay customers when much of the store becomes inaccessible upon login. Ha! Take that you dirtbag customers!!! :P

It's basically identical to your mod for hiding store functionality from customers who are not logged in. Simple stuff, but mega effective for a lot of store owners!
Reply With Quote
  #5  
Old 05-13-2004, 07:35 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

I've got a mod currently in the work that will allow you to send reminder emails to customers over X amount of time that haven't sent a COD or Money Order, basically collect on anyone who forgot or was just bitting time. Eventually the mod after X amount of tries will just flag the order as Failed and forget about them, but its an attempt to collect before just failing the order. Sem-Automated as well.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #6  
Old 05-13-2004, 07:39 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

OOOOHHHH

You need to send more Cart-Lab newsletters because I wanna know when that one comes out. \
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 02:09 PM.

   

 
X-Cart forums © 2001-2020