Shopping cart - Page 7 Shopping cart - Page 7
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Shopping cart

Started by Stramm, June 04, 2006, 09:02:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Stramm


julala

Yay!  Works great again!  Many thanks Straam!   ;D


mikyma

Hallo again

when use with bridge (joomla mehdi) the user e-mail and name isn't shown in admin panel.
The user id is shown correct and the e-mail notification (user and admin) is sent correctly too
Any idear ?

I took a look into the code but i don't see anything

Greets Michael

Stramm

I've tested the shop bridged to phpbb and smf. That's bridge files that come with Coppermine. Joomla I do not use so I can't tell you much. And cause it's using a user contributed bridge file (at least I think so) it's even harder to suggest something useful.

Do you use the latest version?? If that doesn't help, then you probably need to hardcode the table names and remove the class definition. If that works neither you'll have to run two queries instead of a join

mikyma

Ok,thank you

I'll try to do so and post results  ;)

Greets Michael



mikyma

Hallo

Now  i have fixed the prob with the user name and e-mail in photo_shop_admin.php
when bridged with joomla! (Photo_shop vers.: 1.3)

This works only if the original Joomla Mysql-Tablenames are used,without prefix.
I have attached a comment at the changed codelines.

just replace photo_shop_admin.php with attached file (rename it into photo_shop_admin.php)



mikyma

Another problem when bridget to joomla is the
reload when ad a photo to basket:

The photo wil be added but the count inside the baket button is not increased.
when adding a pic the browser doesnt return to that pic.

I think i have to change codebase.php
<form action="{$REFERER}" method="post">
  {$added}{$lang_photoshop['buy']} {$html}
<input type="hidden" value="{$pic_data['pid']}" name="pid" />
<input type="hidden" value="add_item" name="event" />
    <input type="submit" value="{$lang_photoshop['send']}" class="comment_button" />
</form>


or / and the
function
photo _shop_refresh

Greets Michael

germinus

I have installed this but now all my images show the dreaded red x?

mikyma

@germinus

you have to copy the images in photoshop plugin folder to your themes images folder i think.

Greets

Stramm

no, no need to copy the pics into the plugins folder.

If it something doesn't work, post a link

zac

Hiya.. I probably already said this but fantastic contribution Stramm!  All of your stuff is great.  ANyways.. this is a quesiton about styling.  The # of images in cart and checkout button are currently styled within the admin_menu a.link style.  WHere can I find this in the code to put it into another div?

Stramm

you can edit that in the function photoshop_user_menu, codebase.php

Sam Lantz

#132
Photo Shop version: 1.3.1  is an awesome script, however I found two bugs, one is I can't add an image to the shop from the search result form. And if the total sum in basket is over a 1000 it only shows 1.00  :)

Regards Sam

videocp

I have downloaded and installed photo shop 1.3.1
I finally enabled PayPal, but I'm most interested in the album settings to turn on/off pricing and set pricing for individual albums. I read in a previous post that this feature was added, but I can not find it my admin screen, config screen or shop screen. Should I udpate a php file first?

I am running CPG 1.4.10
www dot videocp dot org dot coppermine is the website.

Thanks in advance.

Stramm

in the admin menu click 'shop', open now the shop config (top table header to the right side 'config'), now have a look below the main config, below the two submit buttons, there you'll see: Per Album Settings - Coppermine Photo Gallery 1.4.10 modpack v1 (stable)

select an album in the dropdown, the page reloads and you can chose new prices for that album or if the shop is visible for that album

Stramm

Quote from: Sam Lantz on November 19, 2006, 11:54:33 PM
Photo Shop version: 1.3.1  is an awesome script, however I found two bugs, one is I can't add an image to the shop from the search result form. And if the total sum in basket is over a 1000 it only shows 1.00  :)

Regards Sam


first is known
second... I'll have to check

thanks

Stramm

Quote from: Sam Lantz on November 19, 2006, 11:54:33 PM
And if the total sum in basket is over a 1000 it only shows 1.00

confirmed, lil glitch
fix: open shop plugin dir include/functions.inc.php, find
$cd_price = number_format($temp_price[1],2);
$photo_price = number_format($temp_price[0],2);
$shipping = number_format(($SHOP_CONFIG['ship']),2);
$tot_price = number_format(($cd_price+$photo_price+$SHOP_CONFIG['ship']),2);


replace with
$tot_price = number_format(($temp_price[1]+$temp_price[0]+$SHOP_CONFIG['ship']),2);
$cd_price = number_format($temp_price[1],2);
$photo_price = number_format($temp_price[0],2);
$shipping = number_format(($SHOP_CONFIG['ship']),2);

videocp

Quote from: Stramm on November 20, 2006, 07:55:03 AM
in the admin menu click 'shop', open now the shop config (top table header to the right side 'config'), now have a look below the main config, below the two submit buttons, there you'll see: Per Album Settings - Coppermine Photo Gallery 1.4.10 modpack v1 (stable)

select an album in the dropdown, the page reloads and you can chose new prices for that album or if the shop is visible for that album

Thanks, I just did not look hard enough. One more thing. After I select an album and the screen refresh, I get the following error just above the Per Album Settings section
Warning: Invalid argument supplied for foreach() in 'web site'\plugins\photo_shop\photo_shop_config.php on line 201

Any thoughts? Thanks again for your support. I am really looking forward to putting this plugin to use.

Stramm

hmm.. seems to be a cookie hickup, try clearing the cookie

videocp

Quote from: Stramm on November 20, 2006, 12:42:33 PM
hmm.. seems to be a cookie hickup, try clearing the cookie

I closed all browsers and deleted cookies and temp files (via control panel Internet Options icon). When I open CPG, login as admin, go to shop I get the following at the top also.

Warning: Division by zero in 'website'\plugins\photo_shop\photo_shop_admin.php on line 230

Warning: Division by zero in 'website'\plugins\photo_shop\photo_shop_admin.php on line 231