Can someone tell me where I can find info on using the Mini Shopping Cart
feature in SS7. The SS Help doesn't seem to address how this feature is
implimented etc.
Thanks
Vince
Layout Info. It is only available using custom templates. Of the
templates that ship with ShopSite only the Rounded, Tab, Stain Glass and
Can someone tell me where I can find info on using the Mini Shopping Cart
feature in SS7. The SS Help doesn't seem to address how this feature is
implimented etc.
Thanks
Vince
Vince,
The help for Mini Cart is still being worked on. It should be available
shortly. Here are a some things to look at.
First the MiniCart is a ShopSite Pro feature only so you must have a Pro
version to use it. It is turned on under Commerce Setup > Order System
Layout Info. It is only available using custom templates. Of the
templates that ship with ShopSite only the Rounded, Tab, Stain Glass and
Sidebar can use it.
There is an include file called MiniCart.js that is included for the
ShopSite custom templates. This file contains the bulk of the minicart
code. It offers 4 different layouts depending on how you call the cart
itself. The types available are Summary, Item Count, Subtotal and
Detail. There is also an associated xx-MiniCart.css (where xx is the
custom template name like Rounded, Tab etc) that defines the font style
etc for the cart. You can use the Copy ShopSite Include option to copy
the files from the ShopSite include directory to your directory so you
can edit them. In my store I called these two files MyMiniCart.js and
MyMiniCart.css and will use those names when refering to the files later
in this email.
In your custom page template (if you are not using one of the ShopSite
custom templates) you need to define a few variables that are used with
the minicart. In my template I have these right under the {--DEFINE
Page--]:
#### next four lines for the minicart javascript settings
[-- VAR.Media media/themesmedia --]
[-- VAR.MiniCartColor white --]
[-- VAR.MiniCartTextColor white--]
[-- VAR.MiniCartHoverColor red--]
####
Then you need to include the minicart javascript somewhere in the <head
section
#########
[-- IF MiniCart --]
[-- INCLUDE MyMiniCart.css PROCESS --]
[-- INCLUDE MyMiniCart.js PROCESS --]
[-- END_IF --]
########
Where you want the minicart displayed on the page you put the following
code. Here is where you define which of the 4 types you want to use. I
also have coded mine so it minicart is turned off there is a ViewCart
button displayed instead.
#########
[-- IF MiniCart --]
script LANGUAGE="javascript"
#Summary, Detail, ItemCount, or Subtotal.
DisplayMiniCart("ss_cart_[-- STORE_Serial_Number --]","Detail");
/SCRIPT
[-- ELSE --]
a class="viewcart" href="[-- SHOPPING_CART_URL
--]">[--STORE.ViewCart --]</a
[-- END_IF --]
#########
Of course this is very general instruction and allows for multiple
options as far as information displayed, color selection etc. If you
know you are only going to have one type ever displayed you could strip
out the code that doesn't apply. You could also just include the code
in your template instead of keeping it in separate include files.
Hope that helps a little.
Jim
Vince Salese wrote:
Can someone tell me where I can find info on using the Mini Shopping
Cart
feature in SS7. The SS Help doesn't seem to address how this feature is
implimented etc.
Thanks
Vince
Jim,
First, thank you very much for this and other responses to my questions.
Couldn't I put the mini-cart in my header code? If I try I'll let you know
how it turns out.
Thanks again,
Vince
"Jim" <jstavast@xmission.com> wrote in message
news:c0mm6g$67j$1@support.shopsite.com...
Vince,
The help for Mini Cart is still being worked on. It should be available
shortly. Here are a some things to look at.
First the MiniCart is a ShopSite Pro feature only so you must have a Pro
version to use it. It is turned on under Commerce Setup > Order System
Layout Info. It is only available using custom templates. Of the
templates that ship with ShopSite only the Rounded, Tab, Stain Glass and
Sidebar can use it.
There is an include file called MiniCart.js that is included for the
ShopSite custom templates. This file contains the bulk of the minicart
code. It offers 4 different layouts depending on how you call the cart
itself. The types available are Summary, Item Count, Subtotal and
Detail. There is also an associated xx-MiniCart.css (where xx is the
custom template name like Rounded, Tab etc) that defines the font style
etc for the cart. You can use the Copy ShopSite Include option to copy
the files from the ShopSite include directory to your directory so you
can edit them. In my store I called these two files MyMiniCart.js and
MyMiniCart.css and will use those names when refering to the files later
in this email.
In your custom page template (if you are not using one of the ShopSite
custom templates) you need to define a few variables that are used with
the minicart. In my template I have these right under the {--DEFINE
Page--]:
#### next four lines for the minicart javascript settings
[-- VAR.Media media/themesmedia --]
[-- VAR.MiniCartColor white --]
[-- VAR.MiniCartTextColor white--]
[-- VAR.MiniCartHoverColor red--]
####
Then you need to include the minicart javascript somewhere in the <head
section
#########
[-- IF MiniCart --]
[-- INCLUDE MyMiniCart.css PROCESS --]
[-- INCLUDE MyMiniCart.js PROCESS --]
[-- END_IF --]
########
Where you want the minicart displayed on the page you put the following
code. Here is where you define which of the 4 types you want to use. I
also have coded mine so it minicart is turned off there is a ViewCart
button displayed instead.
#########
[-- IF MiniCart --]
script LANGUAGE="javascript"
#Summary, Detail, ItemCount, or Subtotal.
DisplayMiniCart("ss_cart_[-- STORE_Serial_Number --]","Detail");
/SCRIPT
[-- ELSE --]
a class="viewcart" href="[-- SHOPPING_CART_URL
--]">[--STORE.ViewCart --]</a
[-- END_IF --]
#########
Of course this is very general instruction and allows for multiple
options as far as information displayed, color selection etc. If you
know you are only going to have one type ever displayed you could strip
out the code that doesn't apply. You could also just include the code
in your template instead of keeping it in separate include files.
Hope that helps a little.
Jim
Vince Salese wrote:
Can someone tell me where I can find info on using the Mini Shopping
Cart
feature in SS7. The SS Help doesn't seem to address how this feature
is
implimented etc.
Thanks
Vince
Can someone tell me where I can find info on using the Mini Shopping Cart
feature in SS7. The SS Help doesn't seem to address how this feature is
implimented etc.
Thanks
Vince
Users browsing this forum: No registered users and 15 guests