Skip to main content

prix constatés

More
13 years 6 months ago - 13 years 6 months ago #96305 by xav
prix constatés was created by xav
j'observe ceci de temps a autre sur le panier, et pas sur tout les produits
quelqu'un sait pourquoi?
et comment eviter cela?
Last edit: 13 years 6 months ago by xav.

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #96317 by Mohamed Thelji
Replied by Mohamed Thelji on topic prix constatés
Bonjour,

Pourriez me fournir un lien vers votre boutique ? cela m'aiderai probablement à comprendre d'ou le problème provient.

Merci.

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago - 13 years 6 months ago #96366 by Eliot
Replied by Eliot on topic prix constatés
Bonjour,

Le prix constaté est une option de la fiche produit.
Vous avez du mettre un prix dans le paramètre "prix constaté" de votre produit.

EDIT: j'ai peut-être aml compris votre problème, je suppose que ce prix ne devrait pas s'afficher dans le panier?
Last edit: 13 years 6 months ago by Eliot.
The following user(s) said Thank You: Mohamed Thelji

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #96369 by xav
Replied by xav on topic prix constatés
bonjour
merci de votre réponse
oui en effet, le prix ne devrait pas s'afficher dans le panier.

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #96373 by Eliot
Replied by Eliot on topic prix constatés
C'est en effet un bug. Pour le réparer il suffit d'éditer le fichier listing_price de product (dans affichage>Vues) et remplacer cette ligne (au début du fichier):
Code:
if(isset($this->row->product_msrp) && @$this->row->product_msrp > 0.0 && JRequest::getCmd('layout') == 'show'){ ?>

par cette ligne:
Code:
if(isset($this->row->product_msrp) && @$this->row->product_msrp > 0.0 && JRequest::getCmd('layout') == 'show' && $this->params->get('from','') != 'module'){ ?>

Cela devrait résoudre le problème :)

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago - 13 years 6 months ago #96388 by xav
Replied by xav on topic prix constatés
:cheer: C'est fait merci
si ca recommence je vous fe ferais savoir

merci pour votre support, je suis ravi de mon achat bravo ;)
Last edit: 13 years 6 months ago by xav.

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #97271 by xav
Replied by xav on topic prix constatés
Eliot, je constate que le prix public ne s'affiche plus mais il reste par contre le ''notre prix'' alors autant je souhaite bien que s'affiche le tarif, autant cette phrase avant le prix n'est pas nécessaire

quelle est la chose a faire

Please Log in or Create an account to join the conversation.

More
13 years 5 months ago #97358 by Xavier
Replied by Xavier on topic prix constatés
Il faut remplacer la ligne indiquée par Eliot à deux endroits dans cette même vue.

Please Log in or Create an account to join the conversation.

More
13 years 5 months ago #97363 by xav
Replied by xav on topic prix constatés
je n'ai pas exactement le même phrase dans la même vue :huh:
ce que j'ai qui ressemble le plus serait cela
if(isset($this->row->product_msrp) && @$this->row->product_msrp != '0' && JRequest::getCmd('layout') == 'show')
est ce que je change cela?

Please Log in or Create an account to join the conversation.

More
13 years 5 months ago #97364 by Xavier
Replied by Xavier on topic prix constatés
En effet c'est celle là, il faut ajouter " && $this->params->get('from','') != 'module'" avant ")".

Please Log in or Create an account to join the conversation.

More
13 years 5 months ago #97380 by xav
Replied by xav on topic prix constatés
ne fonctionne pas ainsi:


if(isset($this->row->product_msrp) && @$this->row->product_msrp != '0' && JRequest::getCmd('layout') == 'show')" && $this->params->get('from','') != 'module'" avant ")"
echo JText::_('PRODUCT_MSRP_AFTER').' ';

ou je me trompe quelque part?

Please Log in or Create an account to join the conversation.

More
13 years 5 months ago #97384 by Xavier
Replied by Xavier on topic prix constatés
Code:
if(isset($this->row->product_msrp) && @$this->row->product_msrp != '0' && JRequest::getCmd('layout') == 'show' && $this->params->get('from','') != 'module'){
The following user(s) said Thank You: xav

Please Log in or Create an account to join the conversation.

More
13 years 5 months ago #97396 by xav
Replied by xav on topic prix constatés
fonctionne merci :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.345 seconds
Powered by Kunena Forum