ach34
Members-
Posts
53 -
Joined
-
Last visited
Profile Information
-
First Name
Alain
-
Last Name
ACH
ach34's Achievements
-
ach34 started following Import CSV
-
Bonjour, Je viens d'installer la version 8.1 mais lorsque j'importe les produits à partir d'un CSV j'ai plusieurs problèmes : 1 - je peux plus sauvegarder le produit après une modification. Le bouton est gris. 2 - la zone de l'image a disparu. Impossible de modifier ou ajouter des images Quelqu'un peut m'aider ? Merci
-
erreur inattendue sur CLIENT
ach34 replied to ach34's topic in Utilisation de PrestaShop : configuration et difficultés
C'est bon j'ai rajouté la table connections, j'ai trouvé le lien vers ma version https://github.com/PrestaShop/PrestaShop/blob/1.7.7.x/install-dev/data/db_structure.sql ça semble fonctionner. Merci pour l'aide ça m'a permis de comprendre comme résoudre ce type de problème CREATE TABLE IF NOT EXISTS `psvd_connections` ( `id_connections` int(10) unsigned NOT NULL auto_increment, `id_shop_group` INT(11) UNSIGNED NOT NULL DEFAULT '1', `id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1', `id_guest` int(10) unsigned NOT NULL, `id_page` int(10) unsigned NOT NULL, `ip_address` BIGINT NULL DEFAULT NULL, `date_add` datetime NOT NULL, `http_referer` varchar(255) DEFAULT NULL, PRIMARY KEY (`id_connections`), KEY `id_guest` (`id_guest`), KEY `date_add` (`date_add`), KEY `id_page` (`id_page`) ) ENGINE=INNODB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; -
erreur inattendue sur CLIENT
ach34 replied to ach34's topic in Utilisation de PrestaShop : configuration et difficultés
J'ai encore une erreur : An exception occurred while executing 'SELECT c.id_customer, c.firstname, c.lastname, c.email, c.active, c.newsletter, c.optin, c.date_add, gl.name as social_title, s.name as shop_name, c.company, (SELECT SUM(total_paid_real / conversion_rate) FROM psvd_orders o WHERE (o.id_customer = c.id_customer) AND (o.id_shop IN (?)) AND (o.valid = 1)) as total_spent, (SELECT con.date_add FROM psvd_guest g LEFT JOIN psvd_connections con ON con.id_guest = g.id_guest WHERE g.id_customer = c.id_customer ORDER BY con.date_add DESC LIMIT 1) as connect FROM psvd_customer c LEFT JOIN psvd_gender_lang gl ON c.id_gender = gl.id_gender AND gl.id_lang = ? LEFT JOIN psvd_shop s ON c.id_shop = s.id_shop WHERE (c.deleted = 0) AND (c.id_shop IN (?)) ORDER BY c.date_add DESC LIMIT 50' with params [1, 2, 1]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'atd_presta1.psvd_connections' doesn't exist [Doctrine\DBAL\Exception\TableNotFoundException 0] -
erreur inattendue sur CLIENT
ach34 replied to ach34's topic in Utilisation de PrestaShop : configuration et difficultés
Ok merci je vais installer. -
Bonjour, Lorsque je clic sur "CLIENTS" (voir erreur ci-dessous). Je viens de mettre à jour ma version de prestashop en 1.7.7.5 mais ça corrige pas le problème. Merci pour votre aide Rapport debug : PDOException PDOException TableNotFoundException HTTP 500 Internal Server Error An exception occurred while executing 'SELECT c.id_customer, c.firstname, c.lastname, c.email, c.active, c.newsletter, c.optin, c.date_add, gl.name as social_title, s.name as shop_name, c.company, (SELECT SUM(total_paid_real / conversion_rate) FROM psvd_orders o WHERE (o.id_customer = c.id_customer) AND (o.id_shop IN (?)) AND (o.valid = 1)) as total_spent, (SELECT con.date_add FROM psvd_guest g LEFT JOIN psvd_connections con ON con.id_guest = g.id_guest WHERE g.id_customer = c.id_customer ORDER BY con.date_add DESC LIMIT 1) as connect FROM psvd_customer c LEFT JOIN psvd_gender_lang gl ON c.id_gender = gl.id_gender AND gl.id_lang = ? LEFT JOIN psvd_shop s ON c.id_shop = s.id_shop WHERE (c.deleted = 0) AND (c.id_shop IN (?)) ORDER BY c.date_add DESC LIMIT 50' with params [1, 2, 1]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'atd_presta1.psvd_guest' doesn't exist
-
Une erreur inattendue s'est produite. [PrestaShopException code 0]
ach34 replied to ach34's topic in Discussion générale
j'ai trouvé, pas compatible avec php 7.4 -
j'ai trouvé ma solution
-
Bonjour, J'ai un problème avec mes urls. J'ai passé en réécriture simplifié des urls mais dans mes pages produits j'avais une selection des couleurs avec un passage de paramètre. Mais ça ne marche plus, la page est renvoyé en 404. Voici l'url généré quand je clic sur une couleur : https://....../peaux-de-betes/9-elitis-anguille-big-croco-galuchat-big-croco.html&ref=VP%20423%2008#/117-couleur-dore1 Lorsque je rajoute un "?" dans l'URL ça marche https://....../peaux-de-betes/9-elitis-anguille-big-croco-galuchat-big-croco.html?&ref=VP%20423%2008#/117-couleur-dore1 Mais quand je l'ajoute dans le code il est supprimé. Je sais pas si c'est mon htacess ou autre chose qui marche pas Merci pour votre aide voici mon code <ul id="color_to_pick_list" class="clearfix"> {assign var="default_colorpicker" value=""} {assign var="REF" value=""} {assign var="IDImg" value=""} {foreach from=$group.attributes key=id_attribute item=group_attribute} {assign var='img_color_exists' value=file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')} {foreach from=$combinations key=k item=v} {if ($v.attributes[0] == $id_attribute)} <span></span> {$REF = $v.reference} {$IDImg = $v.id_image} {/if} {/foreach} <li{if $group.default == $id_attribute} class="selected"{/if}> <a href="{$link->getProductLink($product)|escape:'html':'UTF-8'}?" id="color_{$id_attribute|intval}" name="{$colors.$id_attribute.name|escape:'html':'UTF-8'}" class="color_pick{if ($group.default == $id_attribute)} selected{/if}"{if !$img_color_exists && isset($colors.$id_attribute.value) && $colors.$id_attribute.value} style="background:{$colors.$id_attribute.value|escape:'html':'UTF-8'};"{/if} title="{$colors.$id_attribute.name|escape:'html':'UTF-8'} - {$REF}"> <img class="img-responsive" id="thumb_{$k}" src="{$link->getImageLink($product->link_rewrite, $IDImg, 'small_default')|escape:'html':'UTF-8'}" alt="{$product->name|escape:'html':'UTF-8'} - {$product->manufacturer_name|escape:'htmlall':'UTF-8'} - {$REF}" title="{$product->name|escape:'html':'UTF-8'} - {$product->manufacturer_name|escape:'htmlall':'UTF-8'} - {$REF}" /> <span>{$colors.$id_attribute.name|escape:'html':'UTF-8'} - {$REF}</span> </a> </li> {if ($group.default == $id_attribute)} {$default_colorpicker = $id_attribute} {/if} {/foreach} </ul>
-
I enabled "Simplified URL": yes In my product page I have a choice of color but when I click on the link it does not work when I am in "Simplified URL" Here is the generated link: https://....../peaux-de-betes/9-elitis-anguille-big-croco-galuchat-big-croco.html&ref=VP%20423%2008#/117-couleur-dore1 My url has parameters in the url but I think I have the problem in htaccess or in the generated URL. When do I add "?" in the url it works. https://....../peaux-de-betes/9-elitis-anguille-big-croco-galuchat-big-croco.html?&ref=VP%20423%2008#/117-couleur-dore1 My code : <ul id="color_to_pick_list" class="clearfix"> {assign var="default_colorpicker" value=""} {assign var="REF" value=""} {assign var="IDImg" value=""} {foreach from=$group.attributes key=id_attribute item=group_attribute} {assign var='img_color_exists' value=file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')} {foreach from=$combinations key=k item=v} {if ($v.attributes[0] == $id_attribute)} <span></span> {$REF = $v.reference} {$IDImg = $v.id_image} {/if} {/foreach} <li{if $group.default == $id_attribute} class="selected"{/if}> <a href="{$link->getProductLink($product)|escape:'html':'UTF-8'}?" id="color_{$id_attribute|intval}" name="{$colors.$id_attribute.name|escape:'html':'UTF-8'}" class="color_pick{if ($group.default == $id_attribute)} selected{/if}"{if !$img_color_exists && isset($colors.$id_attribute.value) && $colors.$id_attribute.value} style="background:{$colors.$id_attribute.value|escape:'html':'UTF-8'};"{/if} title="{$colors.$id_attribute.name|escape:'html':'UTF-8'} - {$REF}"> <img class="img-responsive" id="thumb_{$k}" src="{$link->getImageLink($product->link_rewrite, $IDImg, 'small_default')|escape:'html':'UTF-8'}" alt="{$product->name|escape:'html':'UTF-8'} - {$product->manufacturer_name|escape:'htmlall':'UTF-8'} - {$REF}" title="{$product->name|escape:'html':'UTF-8'} - {$product->manufacturer_name|escape:'htmlall':'UTF-8'} - {$REF}" /> <span>{$colors.$id_attribute.name|escape:'html':'UTF-8'} - {$REF}</span> </a> </li> {if ($group.default == $id_attribute)} {$default_colorpicker = $id_attribute} {/if} {/foreach} </ul> Thanks for your help
-
Bonjour, Je veux vendre des produits sans stock sur prestashop 1.7 J'ai sélectionné l'option dans paramètre de la boutique >produits > Autoriser la commande de produits en rupture de stock. Mais le produit ne peut pas être acheté (rupture de stock) et impossible de sélectionner les couleurs. Est-ce qu'il faut mettre un stock à 999999 pour contourner le problème ou y a t'il une solution plus élégante ? Merci de votre aide
-
Bonjour, Je suis sur la partie configuration systempay. Est-ce qu'il y a des urls retours spécifiques dans prestashop pour : URL de retour de la boutique URL de notification sur annulation URL de notification sur une opération provenant du Back Office URL de notification sur autorisation par batch URL de notification sur modification par batch Merci pour votre aide.
-
C'est bon ça marche ! Merci pour l'aide