Could one not write an addon where one has the possibility of removing links from deactivated articles to e.g. Out of stock can redirect page?
16.12.2018 04:39
|
|
emmamillathompson
Name: thompson
16.12.2018
Posts: 1
|
|
16.12.2018 20:38
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25941
|
|
17.12.2018 12:40
|
|
FrankG.
Name: Frank
30.11.2011
Posts: 1600
|
Aw: Redirection of an article that is no longer sold
admin - 16.12.2018 20:38 Default; 1.hide product 2. hide button Buy I had the requirement years ago also already times... It should be possible that articles which were deactivated or deleted are forwarded to a certain page. e.g. "Article no longer available" |
28.12.2018 10:15
|
|
FrankG.
Name: Frank
30.11.2011
Posts: 1600
|
|
28.12.2018 20:53
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25941
|
Aw: Redirection of an article that is no longer sold
change product template components\com_jshopping\templates\default\product\product_default.php add code: if ($this->product->getQty() <= 0) { ?> Your HTML code<?php return ''; } or redirect if ($this->product->getQty() <= 0) { JFactory::getApplication()->redirect('index.php........'); return ''; } |