
paddle07
Members-
Posts
22 -
Joined
-
Last visited
paddle07's Achievements
-
Hallo, läuft Prestashop 1.6.1.24 mit MySQL 8? Hat jemand Erfahrung damit? Danke.
-
Hi I build a custom products field module following this tutorial: http://nemops.com/prestashop-products-new-tabs-fields/ I added the shop id as I'm using multistore. Everything works fine until I want to update an existing product… as soon as I edit a product (e.g. price or quantity) and save it (either with save and stay or save) the content of the custom field turns blank. The content of the custom field is only saved correctly when I click on the “custom-field-Tab” before I save e.g. a new price… Here's my hookActionProductUpdate code: public function hookActionProductUpdate($params) { // get all languages // for each of them, store the new field $id_product = $params['product']->id; $id_shop = $this->context->shop->id; $languages = Language::getLanguages(true); foreach ($languages as $lang) { if(!Db::getInstance()->update('product_lang', array('custom_field'=> pSQL(Tools::getValue('custom_field_'.$lang['id_lang']))) ,'id_lang = ' . $lang['id_lang'] .' AND id_shop = ' .$id_shop. ' AND id_product = ' .$id_product )) $this->context->controller->_errors[] = Tools::displayError('Error: ').mysql_error(); } } Thanks!
- 2 replies
-
- Custom Field
- Multistore
-
(and 1 more)
Tagged with:
-
Ok, habe das Problem gelöst... Bei der Steuerregel fehlte der Steuersatz, hatte dies beim neuen Anlegen vergessen. Jetzt sehe ich beim Login unter name.ch/ch/admin den Preis mit CH MwSt. und unter name.ch/de/admin den Preis mit DE MwSt. Ist ein wenig verwirrend, dass es nicht reicht den gewünschten Shop im Dropdown auszuwählen, sondern dass auch noch die Backend URL angepasst werden muss.
- 5 replies
-
- Länder
- Nettopreis
-
(and 2 more)
Tagged with:
-
Danke für die prompte Antwort. Ich die Anleitung schon Schritt für Schritt durchgegangen und habe bei den Einstellungen immer den gewünschten Shop im Dropdown ausgewählt. Bei Shop Schweiz nur Land Schweiz aktiviert, mit CHF und CH Steuersätzen und bei Deutschland Land Deutschland aktiviert mit Währung EUR und DE Steuersätzen aber es funktioniert immer noch nicht. Die Urls der Shops sind name.ch/ch und name.ch/de. Was ich festgestellt habe ist, wenn ich mich im Backend unter name.ch/ch/admin einlogge, werden die Netto/Brutto Produktpreise richtig angezeigt, im DE Shop nur Nettopreis. Wenn ich mit unter name.ch/de/admin anmelde werden im CH und DE Shop nur Nettopreise im Backend angzeigt…? Im Anhang ein Screenshot vom Backend, wenn DE Shop ausgewählt ist. Danke. PS Verwende Version 1.5.5
- 5 replies
-
- Länder
- Nettopreis
-
(and 2 more)
Tagged with:
-
Hi Ich habe einen Schweizer Shop und neu kommt ein Shop für Deutschland und Österreich. Nun nutze ich die Multishop Funktion und habe die Gruppe DE mit deutschem Shop erstellt (Kopie aller CH Kategorien und Produkte). Einrichtung URL hat wie gewünscht geklappt. Unter Lokalisierung habe ich im deutschen Shop das Deutsche Lokalisierungspaket installiert. Mein Problem: Bei den Produkten sollte ich jeweils einen anderen Preis in Euro eintragen, ist es möglich, dass im Backend bei Gruppe Deutschland EUR anstatt CHF steht? Steuerregel... Wenn ich den deutschen Steuersatz beim deutschen Shop auswähle wird nichts berechnet und es zeigt nur den Nettopreis an. Muss da zusätzlich noch eine Einstellung vornehmen? Vielen Dank! Pat
- 5 replies
-
- Länder
- Nettopreis
-
(and 2 more)
Tagged with:
-
Backend Products - Blank page after save... URL
paddle07 replied to paddle07's topic in Configuring and using PrestaShop
thanks for the replies. clearing smarty cache didn't work. @vekia 1) error reporting on - no error reported 2) no error log file on the server - yes, I do have ftp access- 22 replies
-
- products
- adminproducts
-
(and 2 more)
Tagged with:
-
Backend Products - Blank page after save... URL
paddle07 replied to paddle07's topic in Configuring and using PrestaShop
No, nothing...- 22 replies
-
- products
- adminproducts
-
(and 2 more)
Tagged with:
-
Backend Products - Blank page after save... URL
paddle07 replied to paddle07's topic in Configuring and using PrestaShop
Hi i still didn't solve the problem... hard to find the error when nothing is reported... any further ideas how I can find the bug? thx!!- 22 replies
-
- products
- adminproducts
-
(and 2 more)
Tagged with:
-
Backend Products - Blank page after save... URL
paddle07 replied to paddle07's topic in Configuring and using PrestaShop
Hi Benjamin Thanks for your quick reply! I turned it on (see my post) but no error was reported...- 22 replies
-
- products
- adminproducts
-
(and 2 more)
Tagged with:
-
Hi I just noticed a bug as soon as I save a product in the backend which didn't occur at first... I'm using Version 1.5.4 If I want to add or edit a product and the click on save (or save and stay) a totally blank page appears. As soon as I reload the URL everything is fine and the changes have been saved. I turned ('_PS_MODE_DEV_', false) to true and checked for an error log on the server but there are no errors. I noticed that as soon as I click on save "conf=4" is missing in the url... here's an example of the url after I click on save or save and stay: mysite.com/shop/admin/index.php?controller=AdminProducts&token=9e516e6b2af9f49ab70eb30480256114&id_product=1 Any ideas? Could this be a timeout problem? Thanks a lot, Pat
- 22 replies
-
- products
- adminproducts
-
(and 2 more)
Tagged with:
-
Geolocation + Multi-shop redirect
paddle07 replied to Daaaaad's topic in Configuring and using PrestaShop
Hi David look I found this http://www.modulebazaar.com/en/geoip-module.html could maybe help. Or I was thinking of adding a redirect in the restricted-country.tpl... will have to give it try Pat- 13 replies
-
- geoip
- geolocation
-
(and 5 more)
Tagged with:
-
Geolocation + Multi-shop redirect
paddle07 replied to Daaaaad's topic in Configuring and using PrestaShop
Hi David... did you already figure something out? I would like to do the same thing... Thanks, Pat- 13 replies
-
- geoip
- geolocation
-
(and 5 more)
Tagged with:
-
CH war nur ein Beispiel, könnte z.B. auch Shopschweiz heissen... ist die Ausgabe von dem, was ich im Backend bei der Shopgruppe unter "Virtuelle URI" eingetragen habe. Aber in dem Fall ist sicher auch nicht mögliche diesen mit - anstatt / zur Sprache zu trennen? ... Sorry, wenn ich mich nicht ganz klar ausgedrückt habe... Habe diesbezüglich auch noch einen Post (ohne richtige Lösung) auf Stackoverflow gefunden: http://stackoverflow...ual-url-rewrite Danke.
-
Hi, danke für die rasche Antwort! PS Version 1.5.3 Zusätzlich zu den Sprachen habe ich noch Länder Shops mit verschiedenen Sprachen... z.B. Deutschland mit de und en, Schweiz mit de, fr, it und en etc. daher würde ich die URL gerne wie folgt darstellen: shop.meinedomain.com/ch-de/kategorie/produkt.html (ch steht hier für Schweiz, de für die Sprache Deutsch). Danke!