forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: edshred on June 21, 2006, 01:03:51 am

Title: photo_shop plugin: Adding basic text to the shopping cart file.
Post by: edshred on June 21, 2006, 01:03:51 am
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  :)
Title: Re: photo_shop plugin: Adding basic text to the shopping cart file.
Post by: Stramm 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
Title: Re: photo_shop plugin: Adding basic text to the shopping cart file.
Post by: edshred 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

Title: Re: photo_shop plugin: Adding basic text to the shopping cart file.
Post by: Stramm 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