Author Topic: [Mod] [Beta] Shop Mod für 4images (no support)  (Read 266533 times)

0 Members and 1 Guest are viewing this topic.

Offline nika2000

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: [Mod] [Beta] Shop Mod für 4images
« Reply #90 on: August 10, 2005, 02:59:49 PM »
Yes, correct!

TheOracle

  • Guest
Re: [Mod] [Beta] Shop Mod für 4images
« Reply #91 on: August 10, 2005, 03:03:58 PM »
In that case, since each price fields are set individually, how many of these fields would you like to have additionnally ?

Offline nika2000

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: [Mod] [Beta] Shop Mod für 4images
« Reply #92 on: August 10, 2005, 03:14:02 PM »
hmm, good question!

I don't know php, but I'm programming with progress-Databases, so I know a lot about databases....

I thought about a new table with the following fields:
Price_ID
Price
Description
Image_ID

So it should be possible to create as much prices (with description) as you like for one picture.
But I don't know if this works in php?!

What do You think?

TheOracle

  • Guest
Re: [Mod] [Beta] Shop Mod für 4images
« Reply #93 on: August 10, 2005, 03:22:50 PM »
Quote

So it should be possible to create as much prices (with description) as you like for one picture.


Ok, but since there's only a single price field (for now), how many additional price fields would you like to have ?

Quote

But I don't know if this works in php?!


On this case, it only works individually for each seperated price fields.

Offline nika2000

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: [Mod] [Beta] Shop Mod für 4images
« Reply #94 on: August 10, 2005, 03:29:24 PM »
- I think 5 fields would be enought for the beginning :-)

Quote
On this case, it only works individually for each seperated price fields.
This phrase I don't understand :-(
Could you plaese explain it?

Isn't there a possibility to generate the dropdown form from the contents of a new table?

TheOracle

  • Guest
Re: [Mod] [Beta] Shop Mod für 4images
« Reply #95 on: August 10, 2005, 03:33:08 PM »
Quote

Could you plaese explain it?


What it means is that the price fields would be showed seperately in the dropdown form

such as :

- $100.00
- $150.00

and not :

- $100.00 + $150.00 (same field with two prices in it).

for example.

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: [Mod] [Beta] Shop Mod für 4images
« Reply #96 on: August 10, 2005, 03:34:22 PM »
nur mal ne frage: Gibt es den MOD als download irgendwo??

der Link ist ja leider tot!

wenn es geht in deutsch + readme (mit install-anleitung!)

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: [Mod] [Beta] Shop Mod für 4images
« Reply #97 on: August 10, 2005, 03:35:40 PM »
nur mal ne frage: Gibt es den MOD als download irgendwo??

der Link ist ja leider tot!

wenn es geht in deutsch + readme (mit install-anleitung!)

Offline nika2000

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: [Mod] [Beta] Shop Mod für 4images
« Reply #98 on: August 10, 2005, 03:39:47 PM »
Quote
- $100.00
- $150.00
:roll:

certainly, I'd like to have it like this .... And this is not possible with a table?

Offline nika2000

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: [Mod] [Beta] Shop Mod für 4images
« Reply #99 on: August 10, 2005, 03:42:43 PM »
This Link works:  http://www.rustynet.de/cat187.html

You can find it on page 5 ....

TheOracle

  • Guest
Re: [Mod] [Beta] Shop Mod für 4images
« Reply #100 on: August 10, 2005, 03:50:11 PM »
Quote

this is not possible with a table?


Since this is a very typical question, an example would be amended in order to see which type of table presentation you'd like to have.

Quote

You can find it on page 5 ....


Please post the precise URL where I can see this to faciliate the task.

Offline nika2000

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: [Mod] [Beta] Shop Mod für 4images
« Reply #101 on: August 10, 2005, 04:11:38 PM »
Quote
You can find it on page 5 ....
Please post the precise URL where I can see this to faciliate the task.

-> this was only the download-link for honda2000....

Quote
which type of table presentation you'd like to have.
-> ok, I will try to explain:

- I have one Image with image_id = 1
- I have a new table prices with fields Price_ID, Price, Description, Image_ID
- In this table, there are 3 records (for example; 1 record stands for one price):
   Price_ID      = 1
   Price           = 1
   Description   = "Print 10 cm x 15 cm"
   Image_ID    = 1

   Price_ID      = 2
   Price           = 3,50
   Description   = "Print 20 cm x 30 cm"
   Image_ID    = 1

   Price_ID      = 3
   Price           = 10
   Description   = "Puzzel with your picture"
   Image_ID    = 1

When I now call the details.php of this picture, there should be a dropdown form with the following Items:
  Print 10 x 15 cm - 1,00 €
  Print 20 x 30 cm - 3,50 €
  Puzzel with your picture - 10,00 €

Do you understand what I mean? There is one row in the dropdown form for each record.
So I have the possibility to use as much prices and different descriptions as I like...

TheOracle

  • Guest
Re: [Mod] [Beta] Shop Mod für 4images
« Reply #102 on: August 10, 2005, 04:15:04 PM »
Ah ! now it's clearer. 8)

You wish to have 5 seperated table pictures with 5 seperated dropdown list for each of them. Right ?

If so, it would require some time to do something like this as it would involve massive modifications in order to accomplish this.

Offline nika2000

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: [Mod] [Beta] Shop Mod für 4images
« Reply #103 on: August 10, 2005, 04:25:15 PM »
I'm not sure, if you understand it right....

In my example, I have 1 picture and 3 prices. The assignment picture - price is the Image_ID in the price_table....

TheOracle

  • Guest
Re: [Mod] [Beta] Shop Mod für 4images
« Reply #104 on: August 10, 2005, 04:40:13 PM »
Ok. This should make things easier then. I have added this on my TODO list and I will try this out.