osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

invoice 1.50 - Rechnung für Stammkunden

This is a discussion on invoice 1.50 - Rechnung für Stammkunden within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Wenn ein Kunde ohne Account bestellt (Contribution PWA), findet kein Datenbankeintrag statt. Es sollte daher folgende Datei abgeä...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 09-07-2007, 06:40 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,185
Thanks: 66
Thanked 290 Times in 276 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post invoice 1.50 - Rechnung für Stammkunden

Wenn ein Kunde ohne Account bestellt (Contribution PWA), findet kein Datenbankeintrag statt. Es sollte daher folgende Datei abgeändert werden:

catalog/includes/modules/payment/invoice.php

vor Zeile 63 (switch) folgendes einfügen:
if($inv_check) {

und nach Zeile 76 ( } break } ) folgendes einfügen:
} else { $this->enabled = false; }

Es müsste am Ende dann so aussehen:

if($inv_check) {
switch ($inv_check) {
case 0:
$total = $result['total'];
if (($total+1) < MODULE_PAYMENT_INVOICE_FROM_ORDER) {
$this->enabled = false;
}
break;
case 1:
if (($inv_info['customers_invoice']) < 1) {
$this->enabled = false;
}
break;
}
} else { $this->enabled = false; }

Vielleicht k&ouml;nnte die Funktion ja allgemein mal eingebaut werden, aber das m&ouml;chte ich gern dem Autor &uuml;berlassen.

- - - NO FILE UPLOADED - - -

More...
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
PDF Customer Invoice v1.0 michael_s New osCommerce Contributions 0 08-12-2007 04:39 AM
PDF Customer Invoice v1.0 michael_s New osCommerce Contributions 0 08-05-2007 11:32 AM
PDF Customer Invoice v1.0 michael_s New osCommerce Contributions 0 08-04-2007 02:02 PM
Rechnungslayout über Admin + Texteingabe in Rechnung michael_s New osCommerce Contributions 0 07-20-2007 06:11 PM
PDF Invoice michael_s New osCommerce Contributions 0 06-08-2007 11:15 AM


All times are GMT -8. The time now is 07:09 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax