Announcement

Collapse
No announcement yet.

Easily integrate your Miva Merchant into Facebook

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • lesliekirk
    replied
    Re: Easily integrate your Miva Merchant into Facebook

    Hmmmm, think I just hit a road block for this one - unless I can suggest the store own let me create a category for FB, then also assign the products to it too.

    Leave a comment:


  • wcw
    replied
    Re: Easily integrate your Miva Merchant into Facebook

    You could put something in the description for all those you wanted to show as a default display. <!-- search //--> Then search on the keyword search. Miva would find them but would not display the text in the description.

    Leave a comment:


  • lesliekirk
    replied
    Re: Easily integrate your Miva Merchant into Facebook

    Originally posted by wcw View Post
    It is only going to display the one you selected. The category filter is for one category.
    LOL - I figured that, but I gave it a shot even though I had asked how to limit the ALL PRODUCTS displayed to (4) specific categories.

    Leave a comment:


  • wcw
    replied
    Re: Easily integrate your Miva Merchant into Facebook

    It is only going to display the one you selected. The category filter is for one category.

    Leave a comment:


  • lesliekirk
    replied
    Re: Easily integrate your Miva Merchant into Facebook

    That worked - now to be able to get it to display the products from 4 categories :)

    Leave a comment:


  • wcw
    replied
    Re: Easily integrate your Miva Merchant into Facebook

    Try putting that code in the CTGYFB page template before the simplesearch token.

    Leave a comment:


  • lesliekirk
    replied
    Re: Easily integrate your Miva Merchant into Facebook

    That is the correct category code.

    Leave a comment:


  • wcw
    replied
    Re: Easily integrate your Miva Merchant into Facebook

    The code is case sensitive. Is mat_custom the correct spelling of the default category?

    Leave a comment:


  • lesliekirk
    replied
    Re: Easily integrate your Miva Merchant into Facebook

    I changed it to one of the four category codes that needs to be displayed.

    Code:
    <mvt:if expr="NOT g.category_code">
    <mvt:item name="toolkit" param="sassign|category_code|mat_custom" />
    </mvt:if>
    I put it in the CATLIST page just above the code for the drop down.

    Leave a comment:


  • wcw
    replied
    Re: Easily integrate your Miva Merchant into Facebook

    It goes before. What did you put for the 2nd line?

    Leave a comment:


  • lesliekirk
    replied
    Re: Easily integrate your Miva Merchant into Facebook

    Code:
    <mvt:if expr="NOT g.category_code">
    <mvt:item name="toolkit" param="sassign|category_code|codeofyourdefault" />
    </mvt:if>
    Do I wrap this around the select? Just putting it before it doesn't limit the products.

    Leave a comment:


  • lesliekirk
    replied
    Re: Easily integrate your Miva Merchant into Facebook

    Originally posted by wcw View Post
    If you don't want the "all products", you'll need to make a category a default selection. Before the category drop down, something like
    <mvt:if expr=NOT g.category_code">
    <mvt:item name="toolkit" param="sassign|category_code|codeofyourdefault" />
    </mvt:if>
    And if 4 categories are to be used? The same 4 that are in the drop down list.

    Leave a comment:


  • wcw
    replied
    Re: Easily integrate your Miva Merchant into Facebook

    They are pulled from the client's computer as the webpage is displayed. So you have conditional code in the web page. For example, if you have a cookie on your computer and you visit my site, it will say "Larry please sign in". If no cookie, it just says "please sign in".

    Leave a comment:


  • wajake41
    replied
    Re: Easily integrate your Miva Merchant into Facebook

    Hi Bill: Thanks for the lead on the get cookie code. Tried it and no surprise, it works.
    Now a question: I understand that cookies are stored on the client computer.
    And your toolkit functions are executed on the server, so how do you store and retrieve client cookies from the server? Are they somewhere in the URL headers or ?

    Just wondering, Larry

    Leave a comment:


  • wcw
    replied
    Re: Easily integrate your Miva Merchant into Facebook

    Look at the updatebasket function for examples of saving and reading coolies. The example code is saving the customer name, etc

    Leave a comment:

Working...
X