Invisible or not, this "works a treat" as the Brits say. TY! Now how do I add it to the catalog pull-down in Admin so that I can easily update products ala "specials"?
Invisible or not, this "works a treat" as the Brits say. TY! Now how do I add it to the catalog pull-down in Admin so that I can easily update products ala "specials"?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
The purpose is to encourage users to register (and login) in order to access member's only offers. Incidentally, this doesn't have to be a sidebox. Surprised I couldn't find any info on this. Thanks, Doc!
You can set up the store so that it requires customers to log in before they can see prices. You can further restrict it so they have to log in before they can even browse what's *in* the store.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Btw, no fee to join. Membership via normal registration grants access.
Last edited by samadhi; 28 Apr 2007 at 11:18 PM.
What will be in this "restricted area"?
Zen Cart doesn't currently offer category-specific or product-specific security restrictions.
Was there some other sort of content you were planning to limit access to?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Perhaps I can approach this another way. I'd like to offer 2 or 3 products which will change on a monthly basis exclusively to logged-in users. Is it possible to put a login restriction on the existing "specials" sidebox? IOW, it doesn't appear unless user is registered and logged-in. Thanks for your help!
If you want this sidebox to show up only after someone has logged in
change mystery_box.php as follows.
This triggers the box to show only after login.Code:$show_mystery_box = false; if ($_SESSION['customer_id']) { $show_mystery_box = true; } if ($show_mystery_box == true) { require($template->get_template_dir('tpl_mystery_box.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_mystery_box.php'); // if no active banner in the specified banner group then the box will not show // uses banners in the defined group $banner_box_group // if ($banner->RecordCount() > 0) { $title = 'Mystery Box'; $title_link = false; require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default); }
Bookmarks