FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  • Welcome
  • Guest

Using the SHOP component in a live shop

 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> ECommerce support
View previous topic :: View next topic  
Author Message
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92900

Joined: 22 May 2005
Posts: 32204



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Wed Dec 12, 2007 10:31 am    Post subject: Using the SHOP component in a live shop  Reply with quote

These instructions must be followed if you want live ecommerce.

Firstly you need to use the guides that will be available to create a working version of your shop that uses the default versions of the shop script "nopcart.js" and the shop template "cms_shop.tpl".

In other words all you should be editing at this stage is the portal settings for your shop.

If you cannot get payment processing to work with the default templates and portal options, then you should use the support forum and we will try and improve the default scripts and templates to resolve your issues.

Once you have a working version of the template, you will need to take the following steps.

1) Edit the cms_shop.tpl in the template editor and change <script src="/shop/nopcart.js" ></script> to <script src="/mycart.js" ></script>

2) Use the web page editor to copy the current "/shop/nopcart.js" to mycart.js.

By taking these steps you will ensure that further changes made to templates and scripts do not effect your live shop. We will make our best efforts to ensure that changes at the portal level do not effect compatibility.

Note all the usual disclaimers! e.g. Even if we mess up, you are using the shop at your own risk, we accept no liability at all.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
symon
Moderator
Moderator
FLAG

Virtual Cash: 37350

Joined: 04 Sep 2005
Posts: 11952


Location: Surrey,England
Add Karma

rated by 92 members
Add Comment
Show Comments

http://howtodoit.myfreeforum.org/index.php
online/offline
PostPosted: Wed Dec 12, 2007 10:37 am    Post subject: Reply with quote

If you already have a shop portal called cms_shop.tpl will we need to change that?
_________________
Back to top
View user's profile Send private message Visit poster's website
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92900

Joined: 22 May 2005
Posts: 32204



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Wed Dec 12, 2007 10:41 am    Post subject: Reply with quote

If you had such a template already then you will need to change your existing portal names and revert the cms_shop.tpl in the template editor.
If you don't do this, then you will not get a shop showing.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
symon
Moderator
Moderator
FLAG

Virtual Cash: 37350

Joined: 04 Sep 2005
Posts: 11952


Location: Surrey,England
Add Karma

rated by 92 members
Add Comment
Show Comments

http://howtodoit.myfreeforum.org/index.php
online/offline
PostPosted: Thu Dec 20, 2007 6:54 pm    Post subject: Re: Using the SHOP component in a live shop Reply with quote

admin (no pm's please) wrote:


2) Use the web page editor to copy the current "/shop/nopcart.js" to mycart.js.


Where do i find these as i have searched templates and webtemplates ?
_________________
Back to top
View user's profile Send private message Visit poster's website
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92900

Joined: 22 May 2005
Posts: 32204



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Thu Dec 20, 2007 6:59 pm    Post subject: Reply with quote

Now there is a questions, currently you would just load:

http://forum.myfreeforum.org/shop/nopcart.js

But this will change shortly. I have noted that if you create two shops then the use of "shop" in the path creates more work as the new shop template will mangle that path to its own name
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
symon
Moderator
Moderator
FLAG

Virtual Cash: 37350

Joined: 04 Sep 2005
Posts: 11952


Location: Surrey,England
Add Karma

rated by 92 members
Add Comment
Show Comments

http://howtodoit.myfreeforum.org/index.php
online/offline
PostPosted: Thu Dec 20, 2007 7:05 pm    Post subject: Reply with quote

admin (no pm's please) wrote:
Now there is a questions, currently you would just load:

http://forum.myfreeforum.org/shop/nopcart.js

But this will change shortly. I have noted that if you create two shops then the use of "shop" in the path creates more work as the new shop template will mangle that path to its own name


This is whats happening to me.

www.facebookappchat.co.uk/shop.html

The above trys to go though the motion but i never get my product

And

www.facebookappchat.co.uk/shop

comes up with some thing totaly different know doubt the .js style.
_________________
Back to top
View user's profile Send private message Visit poster's website
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92900

Joined: 22 May 2005
Posts: 32204



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Thu Dec 20, 2007 7:12 pm    Post subject: Reply with quote

http://facebookappchat.co.uk/mycart.js

is not finding a file.

and I do not see mycart.js in the web pages for your forum.

Remember you only need to create this file if you are running a live shop and are worried about regressions, or if you need to tweak the shop at this level.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
symon
Moderator
Moderator
FLAG

Virtual Cash: 37350

Joined: 04 Sep 2005
Posts: 11952


Location: Surrey,England
Add Karma

rated by 92 members
Add Comment
Show Comments

http://howtodoit.myfreeforum.org/index.php
online/offline
PostPosted: Thu Dec 20, 2007 7:24 pm    Post subject: Reply with quote

Ok i added the .js to the main template rather than to a webpage and all seems to be working now.


_________________
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> ECommerce support All times are GMT
Page 1 of 1
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum