I'd like to be able to create an availability group for visitors that are not logged-in or don't have business accounts.
Announcement
Collapse
No announcement yet.
Not Logged In Availability Group
Collapse
X
-
You might want to explain 'why', cause basically, that's not how availability groups work.Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.com
-
Originally posted by rfoulger View PostI'd like to be able to create an availability group for visitors that are not logged-in or don't have business accounts.Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
-
Create a flat rate shipping method with the code 'NotLoggedIn'.
Then, on your OSEL page, find:
<mvt:foreach array="shippingmethods" iterator="method">
and replace it with
<mvt:foreach array="shippingmethods" iterator="method">
<mvt:if expr="(l.settings:method:code EQ 'NotLoggedIn' AND NOT(g.Basket:cust_id)">
Then search for the closing (next) </mvt:foreeach> and replace it with:
</mvt:if>
</mvt:foreach>
(This is why its always best to explain what you what to ACCOMPLISH, instead of how you want to DO something :)
Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.com
Comment
Comment