Jump to content

Aegidius

Members
  • Posts

    42
  • Joined

  • Last visited

Everything posted by Aegidius

  1. Hello. I would like to know how to build the supplier image link in a smarty template, given the supplier ID. Thank you. Egidio
  2. Hello. When I try to add or edit a supplier I get an error saying that the DNI is missing and the address is not correct. The DNI field is not even present in the form and the address I try to enter is Can you please help me? Thank you. Egidio
  3. Hello. I have a big problem that I can't figure it out: my store does not shows taxes. I set up to show prices with taxes: In the user groups I set up all the groups to show prices with taxes: It still not working. I have prices without taxes in product page, in the cart and the invoice. Can you please help me?
  4. Hello. I have a multishop and I want to allow the customers to buy product with quantity 0. I selected this checkbox but I still view products as not available. Do you know where I'm wrong?
  5. Hello. I have a prestashop website with two shops on it. The shops share the products and the categories. One shop is used to sell on the web, the other one is used for internal purposes and must have all products visible and active. We do a period synchronization by script and I like to know how can I deactivate a product from one shop but keep it visible on the other one. What tables I have to touch for it? Thank you. Egidio
  6. No, I don't get any error message.
  7. Hello I have this line in my template <input id="privacy_checkbox" type="checkbox">{l s='I have read and accept the %1$sprivacy terms%2$s.' sprintf=['<a href="'|cat:$link->getCmsLink(6)|cat:'" style="text-decoration: underline;">', '</a>']} but it does not perform the replacements. Can you please help me? Thank you! Egidio
  8. Hello I installed the blocklayered module and it is hooked in many places (including displayLeft) but I do not see it in my front shop. Can you please help me? Thank you. Egidio
  9. I tried with update()/add() but it still not working. I think there is a bug in the PS APIs cause I get another strange error. When I fetch a product with $product = new Product(8100); and then I save it with $product->update(); when I read the id var_dump($product->id); I found the it has become 1.
  10. Hello I created an instance of Product class and using it in this way $product->active = 0; $product->save(); but when the product is still active. Why?
  11. Hello Is it possible to delete all orders and all the invoices? I want to reset the invoice number to 1. Thank you Egidio
  12. Is there any API for that? For example I see ProductCore::addCombinationEntity() but I don't know how to use it.
  13. Is an external script. I'd like to use PS libraries. I have the attribute ID and dynamically I have to create new values for this attribute and then set that the product is available in different attributes.
  14. Hello How can I add a combination of a product from script? Thank you Egidio
  15. Yes I did. Is due to that? What can I do now? Thank you very much for your reply. Egidio
  16. Hello. I have a strange problem with orders in PS 1.5.2.0. If I buy one products I find, in the order page in the backend, 2 more products to my order. In the shipping box I see 3 different carriers and not just one. The data column in this table refers to what? Thank you Egidio
  17. Hi all I have a very strange problem with URL rewriting. In the back end it is enabled and this is my not working .htaccess: # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^www.italiaqualityfood.it$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteCond %{HTTP_HOST} ^www.italiaqualityfood.it$ RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^www.italiaqualityfood.it$ RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteCond %{HTTP_HOST} ^www.italiaqualityfood.it$ RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteCond %{HTTP_HOST} ^www.italiaqualityfood.it$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteCond %{HTTP_HOST} ^www.italiaqualityfood.it$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteCond %{HTTP_HOST} ^www.italiaqualityfood.it$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteCond %{HTTP_HOST} ^www.italiaqualityfood.it$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteCond %{HTTP_HOST} ^www.italiaqualityfood.it$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteCond %{HTTP_HOST} ^www.italiaqualityfood.it$ RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^www.italiaqualityfood.it$ RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # AlphaImageLoader for IE and fancybox RewriteCond %{HTTP_HOST} ^www.italiaqualityfood.it$ RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{HTTP_HOST} ^www.italiaqualityfood.it$ RewriteRule ^.*$ - [NC,L] RewriteCond %{HTTP_HOST} ^www.italiaqualityfood.it$ RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again The very strange thing is that if I replace it with RewriteEngine on RewriteRule ^.*$ index.php and I try to go to mywebsite.com/this-is-a-test I reach the PS 404 page. My index.php is edited to just quit with a message, just to be sure that the script is executed. So index.php is not executed. I don't understand where the redirect to the 404 page is done. This is driving me mad! Please help me
  18. Hello all! I'm looking for documentation about module controllers developing. Is there something? Thank you. Egidio
  19. Ciao a tutti! Sto cercando un modulo o un'estensione per PS che permetta ai miei utenti di ordinare un prodotto e di pagarlo in negozio. Inoltre vorrei che un cliente potesse ordinare un prodotto che non c'è ancora in negozio.
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More