Jump to content

maz0193

Members
  • Posts

    30
  • Joined

  • Last visited

Profile Information

  • Activity
    User/Merchant

maz0193's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. yes I know but now even if I put in the navigation bar : www.mywebsite.com it goes directly to: www.mywebsite.com/index.php?id_product=1&controller=product {$ base_dir} became www.mywebsite.com/index.php?id_product=1&controller=product instead www.mywebsite.com
  2. hi, this is very good that you have done, there is a final request: when you click on the logo to return to homepage we, the link becomes: mywebsite.com / index.php id_product = 1 & controller = product? is there a possibility to have this link: mywebsite.com without (index.php id_product = 1 & controller = product?)
  3. hi, Did you complete the tutorial. thank you
  4. hi, Did you complete the tutorial. thank you
  5. hello, is that someone can help me to have this option on my website: must be the only product that I have on my shop with its versions ( attributes) is displayed on the homepage of the site.so, i need to have product.tpl instead of index.tpl. so, When I click on HOME in Prestashop I want to go to my main product page. my version is : 1.5.6 thank you very much for your help
  6. j'ai trouvé cette solution, mais ça marche pas sur la 1.5.6 : t is easy to fix. Lets consider your product product id is 5 and also ignore the SEO friendly urls at the moment. Open the file controllers/front/IndexController.php and add the following code somewhere in the only initContent function. Tools:redirect('index.php?id_product=5&controller=product'); Now when ever some comes to home page of the site, that user will be redirected to the product page. If SEO friendly urls are enabled, then prestashop will automatically display SEO url in the address bar of the prestashop for that particular product. Please change id_product 5 to your product id. Hope this will help you. Thank you
  7. salut merci pour la réponse mais je voulais carrément toutes les infos qu'on trouve sur la page produit ( surtout les attributs) qu'ils s'affichent sur la page d’accueil. en plus j'ai pas tout compris concernant "$smarty->display();"
  8. bonjour, est ce que quelqu'un peut m'aider à avoir ce rendu final sur mon site : il faut que le seul produit que j'ai sur ma boutique avec ses déclinaisons soit afficher sur la page d’accueil du site. c'est à dire qu'en accueil , c'est product.tpl qui soit appelé. merci beaucoup pour votre aide
  9. rien ne se passe, mais bon j'ai une autre idée. si j’enlève le return -1; comme ça, lorsque le prix de la gratuité est atteint, le prix s'effacera et il me reste : (frais de port offerts dans ) et c'est ça le hic, c'est que soit il me faut afficher 0 € donc je doit mettre return 0; soit il me faut une règle dans ajax-cart.js pour cacher le "dans" pour ne laisser que (frais de port offerts ) ou mieux cacher toute la ligne (frais de port offerts dans ) et afficher une nouvelle ligne : (vos frais sont offert !).
  10. maintenant à la place de "1" c'est devenu -1,00 € sans que le display:none ne s'active
  11. j'ai ajouter seulement cette ligne : et rajoute vers la ligne 598 (function updateCartEverywhere de ton fichier js) $('.ajax_cart_remaining_amount_ship').text(jsonData.amountLeftFreeShipping); maintenant tout va bien , seulement, lorsque j'atteint le montant de gratuité, il me met : frais de port offert dans "1" sinon, dans les deux sens ( diminution ou augmentation) ça se calcule trés bien.
×
×
  • Create New...