how to use GET php request in Opencart using php code
Posted: Tue Sep 24, 2019 8:36 pm
Hello,
I am in public_html/catalog/view/theme/OPC070174-8/template/product/product.twig. I try to edit the product.twig file and in the URL I have https://exampletest.ro/index.php?route= ... duct_id=55. I want to use a command that if (GET['product_id'] == 55) { "do something" }. How can i do this? please help.
Many thanks
I am in public_html/catalog/view/theme/OPC070174-8/template/product/product.twig. I try to edit the product.twig file and in the URL I have https://exampletest.ro/index.php?route= ... duct_id=55. I want to use a command that if (GET['product_id'] == 55) { "do something" }. How can i do this? please help.
Many thanks