Can't find Help on using Mini Shopping Cart

This is an archive of old posting to the User Forum

Can\'t find Help on using Mini Shopping Cart

Postby Vince Salese » Sat Feb 14, 2004 10:16 am

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 Salese
 

Re: Can\'t find Help on using Mini Shopping Cart

Postby Jim. » Sat Feb 14, 2004 8:46 pm

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.
 

Re: Can\'t find Help on using Mini Shopping Cart

Postby Vince Salese » Sun Feb 15, 2004 7:32 am

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

Vince Salese
 

Re: Can\'t find Help on using Mini Shopping Cart

Postby Gary Kennedy » Sun Feb 15, 2004 10:21 am

My site is using the Mini-Cart code. You may want to see how I did it. I
got the code from Al's tools on the Shopsite web site and there were a few
variables to change but not that many. The site is www.martyshoes.com or
www.eshoesale.com

Gary Kennedy
gkennedy@martyshoes.com
www.martyshoes.com
Toll-Free 800-262-7897
Fax 201-319-1446

Marty Shoes Inc.
60 Enterprise Ave. N.
Secaucus, NJ 07094
"Vince Salese" <vince@ahoycaptain.com> wrote in message
news:c0nsr2$shn$1@support.shopsite.com...
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



Gary Kennedy
 

Re: Can\'t find Help on using Mini Shopping Cart

Postby loren_d_c » Fri Feb 27, 2004 9:12 am

Looks like documentation for adding the Mini Shopping Cart feature of
ShopSite v7 Pro to your own pages is now up at:
www.shopsite.com/help/7.0/en-US/install ... t.add.html

-Loren


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

loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 23 guests