Plugin Intergration JoomGallery JoomShopping

10.04.2014 14:09
#1
ag_123
Joomshopping forum user no avatar
Name: Alwin Geus
01.02.2012
Posts: 12
Quote
Plugin Intergration JoomGallery JoomShopping

Hallo,

mein Name ist Alwin und ich supporte ein wenig für die JoomGallery (http://www.joomgallery.net). Allerdings bin ich kein PHP-Programmierer!
Häufig hört man den Wunsch der Anwender, dass diese ihre Bilder verkaufen möchten.
Ich glaube die Kombination JoomGallery mit JoomShopping könnte das ganz gut leisten.
Beides sind sauber programmierte Anwendungen und können per Plugin sicher leicht verknüpft werden. :-)
Meiner Meinung nach müsste folgendes gemacht werden:
Es muss eine Synchronisation zwischen dem JoomShopping-Produkt und dem JoomGallery-Bild gemacht werden.
Beide Systeme benutzen jeweils eine eindeutige id die man dazu benutzen kann.
Genau wie JoomShopping unterstützt die JoomGallery drei Bildgrößen (thumb, detail, original)

Mögliche/notwendige Funktionen (von leicht nach schwer: ;-) )

1. JoomShopping müsste die Bilder aus der JoomGallery holen und anzeigen.
Die JoomGallery hat eine API wo man dies leicht umsetzen kann. Relevant ist die "interface.php"
Eine Doku findet sich dazu hier: http://www.joomgallery.net/dokumentation/allgemeines/die-api/all-pages.html

2. Synchronisation von Titel, Beschreibung, Status, Preis... zwischen dem Produkt (JoomShopping) und dem Bild (JoomGallery)
Die Felder Titel, Beschreibung und Status gibt es in beiden Systemen.
Für zusätzliche Felder (z.B. den Preis) gibt es für die JoomGallery ein Plugin (JoomAdditionalImageFields), das die Werte in einer separaten Tabelle abgelegt.

3. Anlegen neuer Produkte wenn in der JoomGallery neue Bilder hochgeladen werden
Beim hochladen eines Bildes sollte das Produkt automatisch in JoomShopping angelegt sowie Titel und Beschreibung übernommen werden.

4. Implementierung Download-Funktion: Wenn die Bezahlung erfolgt ist, sollen die User die Bilder (Originale) herunterladen können.

Derzeit gibt es nur ein Plugin für die JoomGallery (JoomMarketlink). Damit ist es möglich vom Bild zum Produkt zu verlinken (Parametrisierte URL)
z.B. um das Produkt in den Warenkorb zu legen: index.php?option=com_jshopping&controller=cart&task=add&category_id=1&product_id=%s&lang=de
oder anzuzeigen: index.php?option=com_jshopping&controller=product&task=view&category_id=1&product_id=%s&lang=de

@webdesigner: Was meint ihr?


EN (from Google):
Hi,

my name is Alwin and I supporte a little for the JoomGallery (http://www.en.joomgallery.net). However, I am not a PHP programmer!
Frequently one hears the desire of the user that this want to sell their images.
I think the combination JoomGallery with JoomShopping could afford it quite well.
Both are clean programmed applications and can be easily linked via Plugin sure. :-)
In my opinion the following should be done:
It must be made a synchronization between the JoomShopping product and the JoomGallery picture.
Both systems each use a unique id that you can use to do so.
Just like JoomShopping support JoomGallery three image sizes (thumb , detail, original)

Possible/necessary functions (from easiest to hardest: ;-) )

1 JoomShopping would fetch and display the images from the JoomGallery.
The JoomGallery has an API where you can easily implement this. Relevant is the "interface.php"
A documentary can be found about it here: http://www.en.joomgallery.net/documentation/common-information/api/all-pages.html

2 Synchronization of title, description, state, price ... between the product (JoomShopping) and the image (JoomGallery)
The Title, Description and state is available in both systems.
For additional fields (eg the price), there is a plugin for JoomGallery (JoomAdditionalImageFields) that the values ​​in a separate table stored .

3 Creating new products when in JoomGallery new images will be uploaded
When you upload an image, the product should be created automatically in JoomShopping as well as the title and description are taken.

4 Implementing download function: If the payment is made, the user should be able to download the images (originals) .

Currently, there is only a plugin for JoomGallery (JoomMarketlink). This makes it possible to link the image to the product (Parameterized URL) e.g. to lay the product in the shopping cart: index.php?option=com_jshopping&controller=cart&task=add&category_id=1&product_id=%s&lang=de
or display: index.php?option=com_jshopping&controller=product&task=view&category_id=1&product_id=%s&lang=de

@webdesigner: What do you mean?

 
19.07.2014 19:41
#2
pippopappa
Joomshopping forum user no avatar
Name: pippo
12.09.2013
Posts: 2
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

It would be interesting, but apparently there is no interest in making such an implementation.
How did you solve it?

 
19.07.2014 19:46
#3
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

Yes, will be later

 
19.07.2014 19:53
#4
pippopappa
Joomshopping forum user no avatar
Name: pippo
12.09.2013
Posts: 2
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

A temporary solution?

 
20.07.2014 11:54
#5
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

http://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/downloads/plugins.html?lang=en
Additionl image fields 1.1.0 (JoomShopping 3.18.0/4.6.0 or higher)
JoomGallery Synchrony 1.1.0 (JoomShopping 3.18.0/4.6.0 or higher)

 
21.07.2014 16:06
#6
ag_123
Joomshopping forum user no avatar
Name: Alwin Geus
01.02.2012
Posts: 12
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

Hallo,
ich freue mich sehr, dass es hier bereits ein Plugin für die Integration gibt. :-)
Vielen Dank!

Bei einem ersten schnellen Test mit JoomShopping 4.6.0 unter Joomla 3.3.1 habe ich folgendes festgestellt:
1. Das anlegen des Produktes in JoomShopping funktioniert.
2. Das Bild wird nicht in JoomShopping (Warenkorb usw.) angezeigt. Es erscheint nur der Name.
So wie ich gesehen habe wird in der Tabelle der Dateiname aus der JoomGallery gespeichert.
Ich glaube, es wäre besser, das Bild sollte "dynamisch" aus der JoomGallery geholt werden.
Hier ein Beispiel, wie man das Bild in einem Beitrag (mittels Content-Plugin JoomPlu) einbinden kann:
<p><a href="joomplu:20 type=img"><img class="jg_photo" src="index.php?option=com_joomgallery&amp;view=image&amp;format=raw&amp;id=20&amp;type=thumb" alt="joomplu:20" /></a></p>
Wobei id die Bildes=Product-ID ist. Für type kann 'thumb', 'img' oder 'orig' verwendet werden.
Ist das möglich?
Vielen Dank!


EN:
Hi,
i am very pleased that is already a plugin for the integration here. :-)
Thank you so much!

In a first quick test with JoomShopping 4.6.0 and Joomla 3.3.1, I have found the following:
1. The "add" the product to JoomShopping works.
2. The picture does not displayed in JoomShopping (eg. Cart,) It seems only the name.
So as I've seen in the table, the file name from the JoomGallery is stored.
I think it would be better if the image should be "dynamic" taken from JoomGallery.
Here is an example of how to embed the image in a post (via content plugin joomplu):
<p><a href="joomplu:20 type=img"><img class="jg_photo" src="index.php?option=com_joomgallery&amp;view=image&amp;format=raw&amp;id=20&amp;type=thumb" alt="joomplu:20" /></a></p>
Where id is the imageid=product-id. For type can 'thumb', 'img' or 'orig' are used.
Is that possible?
Thank you so much!


Joomla: 3.3.1
JoomShopping: 4.6.0
PHP: 5.4.28
 
06.08.2014 15:23
#7
ag_123
Joomshopping forum user no avatar
Name: Alwin Geus
01.02.2012
Posts: 12
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

Hi,

@Webdesigner:
ag_123 - 21.07.2014 16:06
EN:
Hi,
i am very pleased that is already a plugin for the integration here. :-)
Thank you so much!

In a first quick test with JoomShopping 4.6.0 and Joomla 3.3.1, I have found the following:
1. The "add" the product to JoomShopping works.
2. The picture does not displayed in JoomShopping (eg. Cart,) It seems only the name.
So as I've seen in the table, the file name from the JoomGallery is stored.
I think it would be better if the image should be "dynamic" taken from JoomGallery.
Here is an example of how to embed the image in a post (via content plugin joomplu):
<p><a href="joomplu:20 type=img"><img class="jg_photo" src="index.php?option=com_joomgallery&amp;view=image&amp;format=raw&amp;id=20&amp;type=thumb" alt="joomplu:20" /></a></p>
Where id is the imageid=product-id. For type can 'thumb', 'img' or 'orig' are used.
Is that possible?
Thank you so much!

there will be a new version of the plugin?
Thank you!

 
07.08.2014 22:01
#8
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

Sorry. Plugin developer on holiday, will be in a month.

 
28.08.2014 14:22
#9
vetal
Joomshopping forum user no avatar
Name: Vitaliy
23.05.2012
Posts: 4
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

Hi ag_123
I tested JoomGallery Synchrony 1.1.0 with JoomShopping 4.6.0 and Joomla 3.3.1
I didnt see problems
The picture displayed in JoomShopping Products list, Cart,..
The price you can put with JoomGallery - Additional Image Fields
You can download Original picture in JoomShopping User account after making order status in paid


Letzte Änderung: 28.08.2014 14:26
 
02.09.2014 13:59
#10
ag_123
Joomshopping forum user no avatar
Name: Alwin Geus
01.02.2012
Posts: 12
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

Hi,

thanks for the test.
But for me the error remains: No picture is diplayed.
In folder ../components/com_jshopping/files/img_products there is no picture (only noimage.gif).
I use Joomla 3.3.3, Joomshopping 4.6.1, JoomGallery Synchrony 1.1.0 (but filename in download is "plg_JoomShoppingSynchrony_v1_0_0.zip" ?)

 
02.09.2014 16:00
#11
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

url?
admin login?
ftp?
(privat)

 
05.09.2014 11:12
#12
vetal
Joomshopping forum user no avatar
Name: Vitaliy
23.05.2012
Posts: 4
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

The bug was fixed, download last version - JoomGallery Synchrony 1.0.1

 
11.09.2014 13:49
#13
ag_123
Joomshopping forum user no avatar
Name: Alwin Geus
01.02.2012
Posts: 12
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

Hi,
vetal - 05.09.2014 11:12
The bug was fixed, download last version - JoomGallery Synchrony 1.0.1

yes, pictures is showing and download works too - Perfect! Thank you.
But still two points i would have ;-)
1. after every upload an image, a new category is created in JoomShopping. Somehow seems the check if the category already exists is not working.
2. Question about the license: The plugin is not released under the GNU/GPL license? It is allowed be make changes if necessary?

 
12.09.2014 09:40
#14
vetal
Joomshopping forum user no avatar
Name: Vitaliy
23.05.2012
Posts: 4
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

Hi ag_123
We have done your points ;)
1) Checking same categories
2) The plugin already have GNU/GPL license. You may to make changes if you want

 
24.09.2014 13:03
#15
ag_123
Joomshopping forum user no avatar
Name: Alwin Geus
01.02.2012
Posts: 12
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

Hi,
sorry for the late feedback. You are indeed faster than the police allowed. :-)
Thank you for the two changes, these are very good!

One small problem I have found:
If I change the title or the description in JoomGallery in JoomShopping only one language is changed. The other languages ​​do not change.

For me, I have made ​​two changes to the plugin:
1. Save the JoomGallery-id in the EAN field:
Approximately at line 67:
$data["product_ean"] = $image->id;
Why: Then a picture can be found faster in JoomGallery.

2. Save the JoomShooping-id in the marketlink-field from JoomGallery
Approximately at line 132:
$db = JFactory::getDBO();
$query = "INSERT INTO `#__joomgallery_image_details` SET `id` = '.$image->id.', `details_key` = 'marketlink.productid', `details_value` = '$product->product_id'";
$db->setQuery($query);
$db->query();
Why: To directly go from JoomGallery-picture to JS product.
Thank you!

 
29.10.2014 10:08
#16
vetal
Joomshopping forum user no avatar
Name: Vitaliy
23.05.2012
Posts: 4
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

Hi
The small problem was fixed;)
We joined your changes (source code) to our new version.
You may to download last version - JoomGallery Synchrony 1.0.3

 
11.11.2014 13:55
#17
ag_123
Joomshopping forum user no avatar
Name: Alwin Geus
01.02.2012
Posts: 12
Quote
Aw: Plugin Intergration JoomGallery JoomShopping

Hi,
many thanks!
The plugin works great. I hope the community appreciates your work.
Best regards.

 
Copyrights MAXXmarketing GmbH. All Rights Reserved