salvador21 Posted May 8, 2013 Share Posted May 8, 2013 Is it possible to list products that only people with the URL can get to, ie they do not appear in the store categories or front page but can still be used for purchases if I give people the URL? Thanks Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 8, 2013 Share Posted May 8, 2013 It's not a stock function. Setting a product's status to 'Disabled' or its category to 'Hidden/Disabled' will present a page with nothing where the product details should be. Quote Link to comment Share on other sites More sharing options...
salvador21 Posted May 8, 2013 Author Share Posted May 8, 2013 It's not a stock function. Setting a product's status to 'Disabled' or its category to 'Hidden/Disabled' will present a page with nothing where the product details should be. Yes, I thought that setting category to disabled, and putting the product in that category would work, but it doesn't, it just shows blank. That's a pity, I think this would be a very useful function. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 8, 2013 Share Posted May 8, 2013 There is this: http://www.cubecartforums.org/index.php?showtopic=15669 (But be sure to ask about Goober on those forums.) Quote Link to comment Share on other sites More sharing options...
salvador21 Posted May 8, 2013 Author Share Posted May 8, 2013 There is this: http://www.cubecartforums.org/index.php?showtopic=15669 (But be sure to ask about Goober on those forums.) Thanks, that looks good, but what I need is something for people who are not already customers. Unless I'm misunderstanding, that works with existing customers only. I'm thinking something like Youtube. All public videos are searchable, but you can have a private video that is not searchable, however people with the URL can view it. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 8, 2013 Share Posted May 8, 2013 I understand. Quote Link to comment Share on other sites More sharing options...
salvador21 Posted May 12, 2013 Author Share Posted May 12, 2013 That's odd, I got an email notification for a post with a link to a mod (in this thread), but I am unable to see it here. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted May 12, 2013 Share Posted May 12, 2013 That's odd, I got an email notification for a post with a link to a mod (in this thread), but I am unable to see it here. I've hidden that comment from view until another moderator decides if it should be allowed. Since the person with the mod has contacted you, it would be more logical for them to give you the link directly via PM. Sorry for the inconvenience. Quote Link to comment Share on other sites More sharing options...
salvador21 Posted May 12, 2013 Author Share Posted May 12, 2013 That's odd, I got an email notification for a post with a link to a mod (in this thread), but I am unable to see it here. I've hidden that comment from view until another moderator decides if it should be allowed. Since the person with the mod has contacted you, it would be more logical for them to give you the link directly via PM. Sorry for the inconvenience. OK, understood. But the mod didn't work anyway. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted May 12, 2013 Share Posted May 12, 2013 I'm sorry it didn't work. There's always a certain amount of risk in clicking on a link from someone you don't know and particularly in downloading something to your computer. I appreciate your understanding. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted May 12, 2013 Share Posted May 12, 2013 MarksCarts, a developer on the 3rd party forum, has a v3 mod that would do that, so it might be worth your time to ask if he could develop a v5 version of it. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 12, 2013 Share Posted May 12, 2013 Just to point out something... CubeCart uses a standard format for calling up the Product Details screen: /index.php?_a=product&product_id=2 There will be major programming headaches to switch that off and use search engine friendly URLs only. One could progress through all the product_id numbers and view every product you have. Now, your "hidden" product is discoverable with a bit of perseverance -- a very lot of perseverance if you have 10,000 products. No! Hidden products are, in fact, hidden. Period. If the "invited person" were to be given a URL such as: index.php?_a=product&product_id=2&permission_code that should work. The presence of the code would unhide the product. What do you think of that approach? Quote Link to comment Share on other sites More sharing options...
ics1010 Posted May 13, 2013 Share Posted May 13, 2013 Sorry, I didn't realize I was breaking any rule. The mod does work though. I tested it under 5. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted May 13, 2013 Share Posted May 13, 2013 Hi ics1010 - I really don't know if it's OK for your link to show or not. I'm not the main moderator. When I'm not sure about something I hide it and report it to someone else. Instead of giving a link, can you put the actual code in a comment? That way this thread can continue and salvador21 may be able to tell if they have an error in their use of your code. This would also be a way for other people to benefit from your code. Quote Link to comment Share on other sites More sharing options...
ics1010 Posted May 14, 2013 Share Posted May 14, 2013 I have nothing against posting the code, but it's a plug so it involves a few files. It basically adds a private_item field to the CubeCart_inventory table which is editable in the product edit page. Hooks are added to the searches for category, fulltext and popular products to keep them from being displayed when the toggle is set. The latest products already have a toggle field for keeping them from appearing. When someone has the item id for the url, it will show up. From what I read from bsmither though, it looks like hidden already does that. If it doesn't, the code is not obfuscated so anyone can read and modify it. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted May 14, 2013 Share Posted May 14, 2013 Since it's a plugin, I suspect the best way to share this would be on the 3rd party cubecartforum,org under Free Modifications. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.