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.
Announcement
Collapse
No announcement yet.
Easily integrate your Miva Merchant into Facebook
Collapse
X
-
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:
-
Re: Easily integrate your Miva Merchant into Facebook
Originally posted by wcw View PostIt is only going to display the one you selected. The category filter is for one category.
Leave a comment:
-
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:
-
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:
-
Re: Easily integrate your Miva Merchant into Facebook
Try putting that code in the CTGYFB page template before the simplesearch token.
Leave a comment:
-
Re: Easily integrate your Miva Merchant into Facebook
That is the correct category code.
Leave a comment:
-
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:
-
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>
Leave a comment:
-
Re: Easily integrate your Miva Merchant into Facebook
It goes before. What did you put for the 2nd line?
Leave a comment:
-
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>
Leave a comment:
-
Re: Easily integrate your Miva Merchant into Facebook
Originally posted by wcw View PostIf 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>
Leave a comment:
-
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:
-
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:
-
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:
Leave a comment: