Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

movieseals

Members
  • Content Count

    192
  • Joined

  • Last visited

Everything posted by movieseals

  1. Hello everyone, I am trying to add a tag to my products for a specific condition. Currently, I have this coded in product-list.tpl, which allow me to show if a product is in stock or not and shows a green IN STOCK tag or a red OUT OF STOCK tag, depending on the stock. I want to add a third, orange option (PREORDER NOW), when a specific product has quantities and Allow orders is activated in the quantities tab. By default, all my products are Deny orders when out of stock activated. I used to have modules to handle preorders but all three of them no longer work in TB. I was able to make the tag work with the modules at the time, so I figured that we could just bypass the whole ordeal with something simple however, I have not been able to figure it out. We always know the quantities we have available for preorder ahead of time and it applies only to a very limited amount of products. We want to tag the item because the product is not readily available (the availability date of the product appears on the product page). This is what I think would work in product-list.tpl: {if $product.quantity >0}<div class='instock'>{l s='in stock'}</div>{else}<div class='outofstock'>{l s='out of stock'}</div> {/if} {if (if $product.quantity >0) && (if whatever is the allow orders variable is =1} <div class='preorder'>{l s='PREORDER NOW!'}</div> {/if} So I am wondering, instead of the module conditions, which variable determines if Allow orders is activated or not? And since I am not a coder, would any of you that knows more than me about all of this think it would work? Thank you!
  2. movieseals

    Adding a tag to products in products-list.tpl

    {$product|print_r} does not seem to yield a suitable result but thanks for the if - rookie mistake! 🙂
  3. The website was working fine and we did not install anything new or mess with anything but suddenly, both the front end and the back end are giving us a 500 error. I checked the logs on the server but cannot see what could be causing this. Please see pasted below the error 500 code that the backend gives me: cN1zRFhfZ9I=H/FWb3RjL/I=V3EuCMK6dx0=uC+4nZQghtM=uMMcIEcWO2Y=9sIXsxbEeYM=vzHl63txEhM=UI5duNOaOKM=IO5RXwqARII=TjI7aeJQeOE=NuNNuRNQ5Is=hd9xCY3UlGU=HDWEVXPywkQ=dvBIKOzE3H0=/XYAbYYVRaQ=Ul1V8GiNt4c=/tL3FokzZVg=asWajSIGumM=DtLma2Lhv1s=5lchTViguls=lVv5tl4Nphk=fI0h1CBpAS0=MMG+z8MlEyQ=8qquAB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v+ac=oGFzIDf/9W0=dWQ6cG3wCjc=JaMGb2l3dhY=JK0J1hkSOEo=pwcbLb19MZM=002996 If someone was kind enough to paste back what it means so I can have a least an inkling of a clue... That would be really appreciated. I did try with the Decode message online on the TB site but all I get is this: :`\^lY�co�Dֳj�
  4. I did delete the htaccess, and I am not running out of disk space (1 TB left) but in the end, I had to go back to a backup to get everything back online. 😞 Thank you to everyone who tried to help and gave me pointers I will be able to use in future troubleshootings!
  5. I tried on Firefox, Chrome and Safari. I tried both https and http (and made sure there was no redirect - had to force the loading of the page) but still get the same error (although no longer the TB 500 page, juste the browser 500 error page).
  6. Unfortunately, no changes with either 1 or both disabled. Overrides and non native modules also disabled.
  7. Wow. Flushed all caches, disabled overrides AND non native modules, flushed DNS, flushed browser cache, and still getting a 500 on both backend and frontend!
  8. I know. I meant cpanel still works, so I have acces to phpmyadmin. I had already cleared the smarty caches. Will try with the configuration table now.
  9. No signs of hacking. Double checked by the hosting company.
  10. Yes, cpanel still works.
  11. I checked access logs and PHP errors logs and the error log that is inside TB
  12. Yes, that works. The Hello World PHP
  13. I did. I get a white screen... 😞 . Nothing loads. It is very odd. Lodged a ticket with my hosting provider. Hoping they can figure it out.
  14. Nothing in Debug mode, juste the same 500 error and same code.
  15. I did not think of that. Will do! Thank you!
  16. I did but they claim they did not.
  17. movieseals

    [Free Module]Revws - Product Reviews

    Hi @datakick! The tab showing the reviews seems to have stopped working for me (see example: https://www.librairiezbookstore.com/en/american/dc-tpb/batman-white-knight-tp) Clicking on the link does not bring the review. I know there is one for that particular product. Any help would be appreciated.
  18. movieseals

    Error with a module

    I get the following error using a module that prevents unlogged users to add things to cart. I am not too sure what to make out of this one: IMPOSSIBLE TO ADD THE PRODUCT TO THE CART.TEXTSTATUS: 'PARSERERROR'ERRORTHROWN: 'SYNTAXERROR: UNEXPECTED TOKEN { IN JSON AT POSITION 375'RESPONSETEXT:{ "PRODUCTS": [ ], "DISCOUNTS": [ ], "SHIPPINGCOST": "CAD$0.00", "SHIPPINGCOSTFLOAT": 0, "WRAPPINGCOST": "CAD$0.00", "NBTOTALPRODUCTS": 0, "TOTAL": "CAD$0.00", "PRODUCTTOTAL": "CAD$0.00", "FREESHIPPING": "CAD$0.00", "FREESHIPPINGFLOAT": 0, "FREE_SHIP": TRUE, "ISVIRTUALCART": FALSE, "HASERROR" : TRUE, "ERRORS" : [ "ADD TO CART IS AVAILABLE ONLY FOR LOGGED CUSTOMERS" ] } { "PRODUCTS": [ ], "DISCOUNTS": [ ], "SHIPPINGCOST": "CAD$0.00", "SHIPPINGCOSTFLOAT": 0, "WRAPPINGCOST": "CAD$0.00", "NBTOTALPRODUCTS": 0, "TOTAL": "CAD$0.00", "PRODUCTTOTAL": "CAD$0.00", "FREESHIPPING": "CAD$0.00", "FREESHIPPINGFLOAT": 0, "FREE_SHIP": TRUE, "ISVIRTUALCART": 0, "HASERROR" : TRUE, "ERRORS" : [ "ADD TO CART IS AVAILABLE ONLY FOR LOGGED CUSTOMERS" ] }{"PRODUCTS":[{"ID":47435,"LINK":"HTTPS:\/\/WWW.LIBRAIRIEZBOOKSTORE.COM\/EN\/COMIC-BOOKS\/MARVEL-COMICS\/OLD-MAN-QUILL-2-OF-12","QUANTITY":1,"IMAGE":"HTTPS:\/\/WWW.LIBRAIRIEZBOOKSTORE.COM\/83183-TM_HOME_DEFAULT\/OLD-MAN-QUILL-2-OF-12.JPG","IMAGE_CART":"HTTPS:\/\/WWW.LIBRAIRIEZBOOKSTORE.COM\/83183-TM_CART_DEFAULT\/OLD-MAN-QUILL-2-OF-12.JPG","PRICEBYLINE":"CAD$5.28","NAME":"OLD MAN QUILL #2 (OF 12)","PRICE":"CAD$5.28","PRICE_FLOAT":5.27631199999999989103116604383103549480438232421875,"IDCOMBINATION":0,"IDADDRESSDELIVERY":0,"IS_GIFT":FALSE,"HASATTRIBUTES":FALSE,"HASCUSTOMIZEDDATAS":FALSE,"CUSTOMIZEDDATAS":[]}],"DISCOUNTS":[],"SHIPPINGCOST":"CAD$0.00","SHIPPINGCOSTFLOAT":0,"WRAPPINGCOST":"CAD$0.00","NBTOTALPRODUCTS":1,"TOTAL":"CAD$5.28","PRODUCTTOTAL":"CAD$5.28","FREESHIPPING":"CAD$0.00","FREESHIPPINGFLOAT":0,"HASERROR":TRUE,"ERRORS":["ADD TO CART IS AVAILABLE ONLY FOR LOGGED CUSTOMERS"],"CROSSSELLING":FALSE}
  19. movieseals

    Error with a module

    Mmmmm... I am only using the TB iteration of friendly url... 😞
  20. movieseals

    Abandoned Cart Module that Actually Works?

    I have had good results using the mailchimp module for TB. You can setup an abandoned cart message through mailchimp and it is the most efficient I have seen so far. I have to say that most are very disappointing and appear to not even work for the most part. But I did not test them all. The mailchimp solution has been the best for me so far. Not perfect but better than the other solutions I have tried that cost a lot more.
  21. Hi! I am trying to figure out a way to make certain products available to order only for certain groups? Meaning that everyone could see the products, but they are not able to order them (at least for a time) unless they belong to a certain group. I found some modules that hide products unless it is for a specific group but we want people to see what is coming down the line, not hide it. Any suggestions, modifications or perhaps modules suggestions? Been searching for a while without success. Any suggestion is welcome. Thank you!
  22. movieseals

    Make certain products orderable only by certain groups

    Yes, I can do that for the others but it does not solve the problem of the customers who have reserved titles - I cannot put their titles available so how can they buy them? I created a group for those who reserve stuff. I need to make some products only orderable for that group.
  23. movieseals

    Make certain products orderable only by certain groups

    What I want to do is have a product visible to anyone who visits but being able to order only for a specific group. I sell books and some people have books that they preorder in advance. When the book arrives, I want to be able to put that quantity available so that they can order it. However, if anyone can order it, then the people who have reserved books run the chance to not get their books if they do not check out immediately. So I want to create a specific group where I put the quantities reserved available for the customers who reserved them and not available to be ordered by those who did not.
  24. @datakick Cool! Thanks! Everything works like it used to, very appreciated.
  25. @datakick So basically I remove the red lines and put back the green ones in classes/Configuration.php? Sorry for my ignorance
×