Search found 5 matches

Page 1 of 1

Search found 5 matches

Re: Regarding the product price that goes into the cart along with the product

OSWorX wrote:
Wed Sep 25, 2019 3:03 pm
What for do you set the special price then?
I want to display it because I want to say something like this "IF you want to buy the product with the special price please follow the link". And he must acces a link that takes him to another website. Please help

Jump to post
  • Wed Sep 25, 2019 3:29 pm
  • Replies 3
  • Views 821
Re: how to use GET php request in Opencart using php code

developer@avi wrote:
Wed Sep 25, 2019 1:25 am
You need set product is in data in product controller like
$data['product_id']=$this->request>get['product_id'];

Then use {% if product_id==55 %}

On template
Thank you. So I use {% if product_id==55 % echo '<a href="www.google.com">google</a>'} ?

I use ECHO then?

Jump to post
  • Wed Sep 25, 2019 1:53 pm
  • Replies 3
  • Views 584
how to use GET php request in Opencart using php code

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=product/product&path=59&product_id=55. I want to use a command that if (GET['product_id'] == 55) { "do something" ...

Jump to post
  • Tue Sep 24, 2019 8:36 pm
  • Replies 3
  • Views 584
Regarding the product price that goes into the cart along with the product

Hello, In backend admin panel following these steps: Catalog -> Products -> (I select the product I need) -> Edit -> Special. I insert the special price I want and it displays in Frond End in the product page. The Price which is in Data appears as CUT and the price I inserted in Special appears uncu...

Jump to post
  • Tue Sep 24, 2019 8:19 pm
  • Replies 3
  • Views 821

Page 1 of 1

Search found 5 matches