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 2 [3] 4 5 6 7 ... 19   Go Down

Author Topic: [cpg1.4.x]: Shopping cart (new version)  (Read 331671 times)

0 Members and 1 Guest are viewing this topic.

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #40 on: January 11, 2009, 05:58:31 pm »

I've created to functions where you as admin can add own functionality to the shop
open include/functions.inc.php
scroll down to the end of that file and find
- function calculate_discount()
and
- function calculate_shipping()

both you could modify in a way that you get your desired result.

erika_conn

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 91
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #41 on: January 11, 2009, 09:07:00 pm »

Oh, I am so happy with your help.  You should feel very proud of yourself.  This is a wonderful plugin you created.

I have another question re: If you need the basket buttons elsewhere, then edit template.html and use the placeholder {CART_MENU} where you need it.

I would very much like to have the buttons in the minicms since that is where I wrote my blurb.  But just on one minicms.  Would you be able to help me there or do I have to ask the person who developed it?

http://bigshots.ceconn.com
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #42 on: January 11, 2009, 09:26:10 pm »

I've never used minicms before... so no, I can't help you with that.

erika_conn

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 91
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #43 on: January 11, 2009, 11:01:19 pm »

I think it's your bedtime now.  Thank you for all your help.  Sleep well.
Logged

BIGSHOT

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #44 on: January 19, 2009, 11:35:24 pm »

Hi there I added the Photo_Shop folder to the Plugins folder using Filezella FTP

I then went to the plugins manager to click on the 'i' in the circle to activate/install it and I am getting this error message:


Fatal error: main() [function.require]: Failed opening required '/home1/bigshot2/public_html/plugins/Photo_Shop/include/functions.inc.php' (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home1/bigshot2/public_html/plugins/Photo_Shop/codebase.php on line 20

why is it trying to find a folder called 'include' inside the Photo_Shop folder?!    ???

Thanks very much
Logged

Aeronautic

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 125
  • Photographer / film maker turned webmeister...
Video With [cpg1.4.x]: Shopping cart (new version)?
« Reply #45 on: January 20, 2009, 04:14:24 am »

Stramm,

Please forgive me if this seems like a stupid question, but with settings picked correctly, is there any reason the shopping cart plug-in could not be used with video files?

I assume re-sizing would not be used, but if I had the standard video file+photo thumbs could I at least take advantage of the pricing and cart without download deliveries?

Thank you for all your efforts to develop this resource, support it, and improve it!

Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Video With [cpg1.4.x]: Shopping cart (new version)?
« Reply #46 on: January 20, 2009, 07:51:16 am »

Stramm,

Please forgive me if this seems like a stupid question, but with settings picked correctly, is there any reason the shopping cart plug-in could not be used with video files?

I assume re-sizing would not be used, but if I had the standard video file+photo thumbs could I at least take advantage of the pricing and cart without download deliveries?

Thank you for all your efforts to develop this resource, support it, and improve it!




With some smaller modifications I guess yes

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #47 on: January 20, 2009, 07:52:46 am »

Hi there I added the Photo_Shop folder to the Plugins folder using Filezella FTP

I then went to the plugins manager to click on the 'i' in the circle to activate/install it and I am getting this error message:


Fatal error: main() [function.require]: Failed opening required '/home1/bigshot2/public_html/plugins/Photo_Shop/include/functions.inc.php' (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home1/bigshot2/public_html/plugins/Photo_Shop/codebase.php on line 20

why is it trying to find a folder called 'include' inside the Photo_Shop folder?!    ???

Thanks very much

Make double sure you uploaded all files and all subfolders (especially the include folder)

BIGSHOT

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #48 on: January 20, 2009, 01:27:45 pm »

Make double sure you uploaded all files and all subfolders (especially the include folder)

Thanks for the reply! When I extract the Photo_Shop 1.4 Zip file there arnt any subfolders in it. Am I missing a point here?  ;D

Ive taken a screenshot of what I get inside when extracted, is this right?  :

[img=http://img102.imageshack.us/img102/1727/imnotseeinganysubfolderqn1.th.gif]http://

(http://img102.imageshack.us/img102/1727/imnotseeinganysubfolderqn1.gif)
(http://img102.imageshack.us/img102/imnotseeinganysubfolderqn1.gif/1/w640.png)


MANY THANKS STRAMM
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #49 on: January 20, 2009, 01:42:46 pm »

I only can view the first pic... the winzip archive view. The 'path' represents the subfolders.

So I'm guessing now...
If you extract the files using drag/ drop, then you destroy the path info. You need to extract the files keeping the folder structure intact. Read your applications instructions on how to do that.

BIGSHOT

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #50 on: January 20, 2009, 02:27:56 pm »

Both the pictures i hosted were the same - justdifferent links incase one didnt work ;)

I just used Winzip to unzip your 'photo_shop_1_4.zip' file! I then extracted everything from it to a folder I named Photo_Shop and used Filezilla to move the Photo_Shop folder into the Plugsins folder of CMG.

It says in the CMG documents that teh best way to install plugins is to use winzip rather than relying on the server/host's system to unzip it as it can mess things/ doesnt always keep them in their purest form.

Any idears now? thanks a lot 
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #51 on: January 20, 2009, 05:54:13 pm »

I just can repeat the said... if you do not see any subfolders, then something is wrong. And that's what you said in your previous post.
Quote
When I extract the Photo_Shop 1.4 Zip file there arnt any subfolders in it

So try unzipping till you manage to keep the folder structure intact.  Otherwise it won't work... as you see.

BIGSHOT

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #52 on: January 20, 2009, 08:52:55 pm »

Cheers Stramm. I found a different way of extracting the contents of 'photo_shop_1_4.zip' so that I can see all of the contents and subfolders including 'include'.

The first time I put the folder 'Photo_shop' into the plugins folder in cpg I check ed in the plugin manager and it had showed up. I went to click the 'i' to install it and it showed a 'go' button I waited and clicked that and nothing happened. Now when I take the folder out of plugins and put it back in it doesnt even show up un the plugins manager.

???????????????? Thanks a lot
Logged

BIGSHOT

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #53 on: January 20, 2009, 09:19:34 pm »

I just found out - the only way I can get it to show up again is if I rename the folder as 'photoshop'. If I have it as photo_shop it doesnt show up in the plugins manager.


Heres after clicking the 'i' while the folder is called 'photoshop' in the Plugins folder of cmg:

(http://img187.imageshack.us/img187/5853/wheniclickongofx3.th.gif)


Heres after clicking on the 'Go' button:

(http://img81.imageshack.us/img81/5231/whenihaveclickeddt9.th.gif)


Thanks again, Remy
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #54 on: January 21, 2009, 08:08:35 am »

renaming is not an option as the plugin won't work

uninstall the plugin, maybe you'll have to edit the database manully and remove the photo_shop entry from the plugins table. Then retry

BIGSHOT

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #55 on: January 21, 2009, 11:46:25 am »

Right. Ok then - I have no clue how to open the database manually.

I just find it really odd how when called 'photoshop' it shows up in the manager and when called 'photo_shop' like you cay it must be - it doesn't show up at all.

Could it be anything to do with the Hardwired theme I'm running at all?     :'(
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #56 on: January 21, 2009, 07:07:21 pm »

I do not think so.. but just try. Temporarily use the classic theme.

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #57 on: January 22, 2009, 08:42:46 pm »


my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
 


Please upgrade. I'm sick of telling people to do that. ;) ;D
Logged
It is a mistake to think you can solve any major problems just with potatoes.

beeroll

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Download directory problem
« Reply #58 on: January 22, 2009, 11:13:23 pm »

Hi Stramm,

Thanks once again for this plugin and all your support work, it really is filling a big need for Coppermine.

I've installed the plugin on a website I'm working on, and am running into a bit of an issue.

Once someone has placed an order, and I've marked it paid, I am having trouble creating the download directories.

When I click on the "D" button, I get an error message saying "Directory already exists.... delete first! Order id: x"

But if I then click on the "X" to delete it, I get a message saying "Folder does not exist! Can not delete it! Order id: x"

and if I click "C" at any point, I get the error message "albums/downloads/x_x/ does not exist or has been deleted! Create it first [D]!"

The plugin wants to create a directory in /albums/downloads/ - permissions on that directory are 777, by the way - but it never seems to.

However, if I simply click on the "Download zip" button, that works fine. Unfortunately, that only appears to the site admin, not to registered users.

So as the site admin I can download a zip file, but my customers can only get the error messages.

I tried it on my theme, and also on the Classic theme, with the same results.

The site is gordonross.ca and a registered user login is ben/t3st

Anything you can suggest?

Cheers,

Ben Rollins.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #59 on: January 24, 2009, 09:03:15 am »

Check if save mode is enabled... if so, then this plugin won't work for you (or at least the download feature) as it is dependent on creating folders.
Pages: 1 2 [3] 4 5 6 7 ... 19   Go Up
 

Page created in 0.031 seconds with 20 queries.