Jump to content

mikecheung

Members
  • Posts

    26
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Location
    Indonesia
  • Activity
    User/Merchant

Recent Profile Visitors

2,107,867 profile views

mikecheung's Achievements

Newbie

Newbie (1/14)

4

Reputation

  1. Just wanted to share my solution to the problem. The same problem appeared yesterday. The module in question is the very first module in the folder. Turns out Prestashop generated a .htaccess file in my modules folder. I renamed the file and all the errors are gone.
  2. Do you have any experience coding? if not, it may be a bit difficult for you to edit too much. It also depends on what you need to have changed. But to answer you question, all files that you need to edit will be in the themes folder. It really will depend on what you need to change in the theme.
  3. @varsha28 thats where I would need to see your code to figure that out, best thing to do is check the module for references for .tpl file and make sure that those files exist in the right directory or if there is a misspelling of the file name.
  4. If I am not wrong this can be done manually via .htaccess edits as well, sadly I don't know how to write the expression to do this. Hopefully as people are waking up Monday morning, someone will be kind enough to share an answer.
  5. I don't have access to my Prestashop files at the moment, but you can see all the prestashop queries in the files in the class folder. Most probably the query you are looking for is in the category.php or product.php file.
  6. It seems in your blockcurrencies module there is a reference to a .tpl file that cant be found. Either create that .tpl file or remove the request for that file and that should fix things.
  7. Are you using one page checkout or the default 5 step process?
  8. I am not sure if this is what you mean, but in your template you can use something like this {if $page_name == 'product'}Do Something{/if}
  9. 1. The best way to do that would be to write a custom SQL query, you can probably get most of the code by looking at an existing module, ie. HomeFeatured (this however does not use the metatag as a criteria) 2. In your smarty code, you can use this {$link->getImageLink($product->link_rewrite, $cover.id_image, 'large_default')|escape:'html':'UTF-8'} the most important variables is the image id, which should be in the product information and the size of the image which can be set in Prestashops BO.
  10. Can you give some more information, what changed since it began not working? are you using any modules or is this all the default carrier settings? Did you change the costs, weight or any other information related to the carrier?
  11. I am going to do my best to give you an example of what you have to do based on what you are showing me. In the class getProducts () $sql = "sql query"; return $sql; Imagine that this function is a closed box, that no one can look into without you sending that information out. Return $sql is what will send the information out when you call this function. Every other variable is stuck inside the function. In the controller before the .tpl call $query = product::getProducts(); This calls the function that processes the query and defines the variable as the result from that function $this->context->smarty->assign('sql',$query ); This tells smarty that $sql = $query in the .tpl file {$sql} This display the contents for the $sql variable I hope this helps. For me, the easiest thing to do is in the class function, just use echo $sql; It will show at the top of your page
  12. can you share some the code you used? How is it detecting what page you are on, is it using $page_name? My guess is that there is a problem in that part of the code
  13. Thanks guys, that was one of my options, it's just more difficult to compare payment gateway report and order list page because the order_id is what shown and not the cart_id. Was hoping for a different way, but if that is what is recommended, that's what I'll use. appreciate the answers.
  14. @javsmile echo is a php function - if you just need to see the query, you can just use echo to see the query. I would need to see your code to give you specific place to place that code. you can use pastebin to share the code.
×
×
  • Create New...

Important Information

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