X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Block Membership Level Mod (https://forum.x-cart.com/showthread.php?t=7564)

adpboss 05-13-2004 03:41 PM

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 :D :!:


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!

groovico 05-13-2004 04:52 PM

Nice simple way of doing it :D

B00MER 05-13-2004 07:28 PM

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.

adpboss 05-13-2004 07:32 PM

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! :D

B00MER 05-13-2004 07:35 PM

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. :wink:

adpboss 05-13-2004 07:39 PM

OOOOHHHH

You need to send more Cart-Lab newsletters because I wanna know when that one comes out. ;) \:D/ =D>


All times are GMT -8. The time now is 02:23 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.