Has anyone tried to implement this? Would like to hear comments / suggestions .... thanks.
Has anyone tried to implement this? Would like to hear comments / suggestions .... thanks.
Hello,
Thanks, it works! But I have a small question, can it be configured instead of "MORE INFO TEXT" to show: "The price requires authentification"? And wht do I have to change? Thanks, you are a lifesaver!
You can replace the constant MORE_INFO_TEXT with something like NEED_AUTH_TEXT in the relevant location, and define that in the same file where MORE_INFO_TEXT is defined, like
This is a nice mod, by the way:)PHP Code:define('NEED_AUTH_TEXT', 'The price requires authentification');
Short of making admin configurability, I would take the category setting out of the processing files and put it in the same define file:PHP Code:define('LOGIN_REQUIRED_CPATH', '3_19_45,68,78');
You can view it working on www.unghiifalse.ro
I think it is a problem, I don`t know why.
http://www.unghiifalse.ro/index.php?...=index&cPath=1
When are only one product in category, the link to show the product, redirects to login page.
Also here: http://www.unghiifalse.ro/index.php?...=index&cPath=2 the last 3 only have 1 product/cat
Another question for you. I guess this trick is made for the:
Customer Shop Status - View Shop and Prices 0
Customer Approval Status - Authorization Pending 0
It is any way that the price of the categories not restricted to be hidden to be published when:
Customer Approval Status - Authorization Pending 2 ?
Thanks!