Jump to content



Member Since 18 Mar 2010
Offline Last Active Jul 30 2013 02:36 PM

Topics I've Started

Looking to do some projects

13 July 2010 - 05:38 PM

Just came back from a vacation. If you need some graphics design or coding help, PM me.

The only thing I am not very good at is JQuery. Everything else goes:

- PHP/Smarty
- Javascript/AJAX
- Photoshop/Premier

Houston, TX

Fake CC processor

11 June 2010 - 03:44 PM

It would be cool if CS-Cart had a CC processor that would have like 5-10 test CC cards pre-set that would go through as a test and would deny each other number. It would not contact any CC processor but act as a fake approval/denial.

I don't know if there is a right way but to test denial is costing us 10 cents with real CC processor. The test mode we cannot set with our CC processor because our current website (non-cscart) would not be able to receive orders.

So, for test purposes it is hard to test CC order placement, we have to use one of the non-cc methods but then how do we know that CC order placement site-wise goes smoothly?

Thus, it would be cool if there would be a DEMO-CC processor that we could choose and test with a few numbers how it goes through or shows denial...

How to get the price level at which order has been made?

10 June 2010 - 10:26 PM

One can give and take price level to the user... How does an admin can see at what price level that order has been priced?

Going to the user's profile can only show his current price level association, perhaps, he was just given a wholesale level, but was his previous order done with retail prices?

One cannot even manually check the pricing against the invoice since the prices could change by then..

So, how does one know that that exact order was bought at group discount or not?

Include code to have your own login page

09 June 2010 - 05:20 PM

For whatever reason you need your custom login page other than the default one, here is some code:

(please note of my really bad naming scheme of variables, it not really made for public eyes)

This is NOT finished code for public.

define('AREA', 'C');
define('AREA_NAME' ,'customer');
require dirname(__FILE__) . '/prepare.php';
require dirname(__FILE__) . '/init.php';

foreach($_SESSION['notifications'] as $n=>$v){

<span style="color:red"><? echo implode('<br>',$error); ?></span><br>
<form action="/index.php" method="post" name="main_login_form">
<input type="hidden" name="form_name" value="main_login_form">
<input type="hidden" name="return_url" value="/">
<input type="hidden" name="remember_me" value="Y">
<input type="hidden" name="dispatch[auth.login]" value="Sign+in">
<input type="text" name="user_login">
<input type="password" name="password">
<input type="submit">

While it is possible to use only HTML, problem there is that a bad login gets recorded into a session and when you finally login you start get error messages that should not be there anymore, therefore, you must use PHP and handle the session errors as they arrive, show them, clean them so they would not disturb peace again.

Shipments - I am confused

03 June 2010 - 04:29 PM

Please explain "shipments to me" because I am playing with this right now and it DOES NOT MAKE SENSE.

For example:

On demo server I make an order. I go into admin and open that order. There I input the tracking number and click save...

After this a customer is able to see that tracking number just fine through his account.

However, there are 0 shipments at this point !!! Seems like inputting a tracking number does not give you a shipment. I am confused.

I am confused even more that you can create "new shipments" even though you already posted a tracking number. Ok, let us say it is the second box with a different tracking number.. New screen, I put ANOTHER tracking number, choose shipping options, items to be shipped... Then finally my item has "shipped" next to it. One shipment is created.

At this point I have entered 2 different tracking numbers but one shipment. One tracking number is inside the order, another in the created shipment.

Even if you will delete the created shipment, it will still show the first tracking number inside the order.

Can someone explain what is going on?