Jump to content

Edit History

santi_cb

santi_cb

2 hours ago, musicmaster said:

It evades me why you want to have two different controllers. Can't you have some conditional code inside your controller: "if(condition) load product.tpl else load productrx.tpl"?

Let me try to explain. It is difficult to understand or explain. Using an if condition (i think ) it is not possible because i want to sell exactly the same product in prestashop, the only difference is the "front part". Ex: In the standard tpl i would like to sell only the product A and in the rx i would like to sell the product A + accesories, i think this is impossible to do with if conditions but any help is apreciated

 

regards

 

santi_cb

santi_cb

2 hours ago, musicmaster said:

It evades me why you want to have two different controllers. Can't you have some conditional code inside your controller: "if(condition) load product.tpl else load productrx.tpl"?

Let me try to explain. It is difficult to understand or explain. Using an if condition (i think ) it is not possible because i want to sell exactly the same product in prestashop, the only difference is the "front part". Ex: In the standard tpl i would like to sell only the product A and in the rx i would like to sell the product A + accesories, i think this is impossible to do with if conditions but any help is apreciate

 

regards

 

santi_cb

santi_cb

2 hours ago, musicmaster said:

It evades me why you want to have two different controllers. Can't you have some conditional code inside your controller: "if(condition) load product.tpl else load productrx.tpl"?

Let me try to explain. It is difficult to understand or explain. Using an if condition (i think ) it is not possible because i want to sell exactly the same product in prestashop, the only difference is the "front part". Ex: In the standard tpl i would like to sell only the product A and in the rx i would like to sell the product A + accesories

×
×
  • Create New...