Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Photo Shop Plugin - Preise mit 0,00 EUR anzeigen  (Read 3357 times)

0 Members and 1 Guest are viewing this topic.

zar

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • FOTONet
Photo Shop Plugin - Preise mit 0,00 EUR anzeigen
« on: February 19, 2007, 08:05:40 pm »

Hallo,

ich möchte Bilder auch kostenfrei anbieten. Dafür benötige ich auch den Warenkorb. Beim alten Plugin (1.0) wurden auch Preise= 0.00 EUR angezeigt. Jetzt erst ab 0.01. Das schreckt aber ab.
Was muss ich ändern, damit kostenlose Angebote wieder gelistet werden?
(Ich nutze den Shop ohne Paypal-Anbindung).

Danke für Hilfe.
Marc
« Last Edit: February 21, 2007, 11:22:23 am by fwe77 »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Photo Shop Plugin - Preise mit 0,00 EUR anzeigen
« Reply #1 on: February 20, 2007, 07:41:17 pm »

in codebase.php
Code: [Select]
if ($value['price'] != 0) {
$html.="<option value=\"{$value['id']}\">{$value['name']} - {$lang_photoshop['USD']}{$value['price']}</option>";
}
durch
Code: [Select]
$html.="<option value=\"{$value['id']}\">{$value['name']} - {$lang_photoshop['USD']}{$value['price']}</option>";ersetzen

hab's nicht probiert, also keine Garantie auf irgendwelche Problemchen oder ähnliches

zar

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • FOTONet
Re: Photo Shop Plugin - Preise mit 0,00 EUR anzeigen
« Reply #2 on: February 21, 2007, 11:20:23 am »

super. Danke. Es funktioniert.
LG
Marc
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.