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: Adding basic text to the shopping cart file.  (Read 4512 times)

0 Members and 1 Guest are viewing this topic.

edshred

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

I would like to add text indicating that the pictures they are buy on CD will be full sized.
- Which file gets modified?
- Where would I insert the text?

fyi, I came across and error with the delete image. the shopping cart is looking for the delete image in themes/eagle/images/delete_sm.gif.
I just created the directory structure and place an image in it and it works. If the delete image were with the others it would be easier to manage.

thanks,
Ed Schulz  :)
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: photo_shop plugin: Adding basic text to the shopping cart file.
« Reply #1 on: June 22, 2006, 07:18:47 pm »

use the new version that I've uploaded 2-3 days ago. That one fixes the missing delete img problem

where exactly do you want to add text

edshred

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: photo_shop plugin: Adding basic text to the shopping cart file.
« Reply #2 on: June 26, 2006, 11:12:46 pm »

Where is the newest download?

I would like to add a statement to the photo shop cart area. The image in the cart indicates what size the image online is. Mine are 640 x 480.
I want to add a comment that indicates that the images printed are printed at the full professional resolution. Also the images on the CD are full resolution. A legal statement would be added in the future as well.

If the comment is anywhere else the user is not going to read it and will pull back from the sale.

On another note. Does the cart have the ability to be hidden from a Album where photos are not for sale. One of my customers call me wanted to know why we were selling her photo in the customer album.

Thanks,
Ed Schulz  :)
McQueeney Bikini Company.
http://mqbc.com

« Last Edit: June 26, 2006, 11:25:57 pm by edshred »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: photo_shop plugin: Adding basic text to the shopping cart file.
« Reply #3 on: June 28, 2006, 04:24:15 pm »

in the shops functions.inc.php find
Code: [Select]
echo <<<EOT
<tr style="font-weight:bold;">
<td><p>{$lang_photoshop['photos']}</p></td>
<td><p>{$lang_photoshop['cds']}</p></td>
</tr>
<tr style="font-size:10px;">
<td align="left" width="50%" valign="top">
{$photo_pricelist}
</td>
<td align="left" width="50%" valign="top">
{$cd_pricelist}
</td>
</tr>
EOT;
and replace with eg.
Code: [Select]
echo <<<EOT
<tr>
<td colspan="2">
<br>text I want to add
</td>
</tr>
<tr style="font-weight:bold;">
<td><p>{$lang_photoshop['photos']}</p></td>
<td><p>{$lang_photoshop['cds']}</p></td>
</tr>
<tr style="font-size:10px;">
<td align="left" width="50%" valign="top">
{$photo_pricelist}
</td>
<td align="left" width="50%" valign="top">
{$cd_pricelist}
</td>
</tr>
EOT;

if you wont to exclude certain albums... sorry, this hasn't been programmed yet
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 21 queries.