Advanced search  

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

Pages: 1 ... 3 4 5 6 [7] 8 9 10 11 ... 30   Go Down

Author Topic: Shopping cart  (Read 651952 times)

0 Members and 2 Guests are viewing this topic.

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #120 on: October 25, 2006, 12:03:38 pm »

fixed

julala

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 55
    • Smileonthetiles
Re: Shopping cart
« Reply #121 on: October 25, 2006, 02:03:50 pm »

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

Logged

mikyma

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Shopping cart
« Reply #122 on: October 25, 2006, 10:28:55 pm »

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
 
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #123 on: October 26, 2006, 09:33:51 am »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Shopping cart
« Reply #124 on: October 26, 2006, 12:25:56 pm »

Ok,thank you

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

Greets Michael


Logged

mikyma

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
joomla bridging
« Reply #125 on: October 28, 2006, 06:01:59 pm »

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)


 
Logged

mikyma

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
joomla bridging
« Reply #126 on: October 28, 2006, 06:48:30 pm »

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
Code: [Select]
<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
Logged

germinus

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: Shopping cart
« Reply #127 on: November 12, 2006, 08:54:42 am »

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

mikyma

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Shopping cart
« Reply #128 on: November 12, 2006, 02:20:33 pm »

@germinus

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

Greets
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #129 on: November 13, 2006, 07:00:43 pm »

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

If it something doesn't work, post a link

zac

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 153
Re: Shopping cart
« Reply #130 on: November 15, 2006, 04:01:27 am »

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?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #131 on: November 15, 2006, 07:35:16 am »

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

Sam Lantz

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • http://www.samlantz.se
Re: Shopping cart
« Reply #132 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
« Last Edit: November 20, 2006, 12:09:10 am by Sam Lantz »
Logged

videocp

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
    • Video Creations and Productions Free Gallery
Re: Shopping cart
« Reply #133 on: November 20, 2006, 05:14:55 am »

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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #134 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

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #135 on: November 20, 2006, 07:56:42 am »

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

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #136 on: November 20, 2006, 08:04:38 am »

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
Code: [Select]
$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
Code: [Select]
$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

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
    • Video Creations and Productions Free Gallery
Re: Shopping cart
« Reply #137 on: November 20, 2006, 11:46:34 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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #138 on: November 20, 2006, 12:42:33 pm »

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

videocp

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
    • Video Creations and Productions Free Gallery
Re: Shopping cart
« Reply #139 on: November 20, 2006, 12:59:24 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
Logged
Pages: 1 ... 3 4 5 6 [7] 8 9 10 11 ... 30   Go Up
 

Page created in 0.038 seconds with 20 queries.