Modular Merchant: Shopping Cart Software

Shopping Cart Software Service

Advanced SearchAdvanced Search RegisterRegister ProfileProfile FAQFAQ MemberlistMemberlist Log inLog in
A few questions
Post new topic   Reply to topic
Modular Merchant Forum Index -> Pre-Sale Questions
Author Message

drgnbear




Joined: 13 Jul 2009
Posts: 2


PostPosted: Jul 13, 2009 10:57am    Post subject: A few questions Reply with quote

There are a few things that we need to be able to do. We need to capture user registration info either on your site or on ours and have the data transmitted back and forth.

we also would like to be able to re-direct a user after the sale is complete to a thank you page with links to our product newsletter and or forum.

Are either of these possible?

James

Mail Bag


Answering Your Questions Since... 9:30am

Joined: 28 Aug 2005
Posts: 198


PostPosted: Jul 13, 2009 11:49am    Post subject: Reply with quote

Quote:
We need to capture user registration info either on your site or on ours

A customer account is automatically created for the customer during the store's checkout process. Outside of the checkout process, a user's information can still be captured in the storefront (and thus creating a customer account in the store records) by submitting a form to any storefront page. At a minimum, the form must include the following values:
1. A hidden field named "force_register". This will force the registration of the customer account in the store records.
2. A form field for each item in the customer account to be captured. The absolute minimum is the customer's email address.

Below is an example of a form that could be located either within the storefront or on a remote website. This form submits its data to a page in the storefront, creating a customer account.
Code:
<form action="http://www.my-store.com/store-page.php" method="post" name="create_form" id="create_form">
   Email: <input name="email" type="text" size="50" id="email" value="" />
   <input type="hidden" name="force_register" id="force_register" value="Y" />
   <input type="submit" name="submit" id="submit" value="Create an Account" />
</form>



Quote:
...and have the data transmitted back and forth.

The method by which data is transmitted back and forth will be determined by the API your web developers create. The amount of customer data transmitted and whether the data is transmitted on a regular schedule or when a specific event happens can be controlled by the custom API created.


Quote:
we also would like to be able to re-direct a user after the sale is complete to a thank you page with links to our product newsletter and or forum.

This can be achieved by simply adding a redirect to the store's receipt page template. A couple of examples include:

An example of a JavaScript redirect would be something like:
Code:
<META HTTP-EQUIV="Refresh" CONTENT="0;URL=http://www.website-to-redirect-to.com">


An example of a PHP redirect would be something like:
Code:
<?php
   session_write_close();
   header('location: http://www.website-to-redirect-to.com');
   exit();
?>

_________________
Modular Merchant Mail Bag
Answering your questions, queries and puzzlers.
Modular Merchant shopping cart software, website hosting, and custom programming.

drgnbear




Joined: 13 Jul 2009
Posts: 2


PostPosted: Jul 14, 2009 09:48am    Post subject: more... Reply with quote

I am the Web Developer. I am not familiar with PHP or how your systems are set up. As far as redirect it's pretty straight forward. I am curious though if you can get access to the SN and user info so that when you re-direct you can submit it.

Mail Bag


Answering Your Questions Since... 9:30am

Joined: 28 Aug 2005
Posts: 198


PostPosted: Jul 14, 2009 03:39pm    Post subject: Reply with quote

Quote:
I am curious though if you can get access to the SN and user info so that when you re-direct you can submit it.

I'd assume that a custom API that submits user info to a third-party could pull data either from the database, or from the PHP variables that contain the order data.

Hosting accounts add access to the store's database, which would allow desired customer and order information to be retrieved for use in a custom API.

There is also a Developer's Guide available, which lists the structure of both the database and the PHP variables mentioned above that are used in the customer's shopping session. The Developer's Guide is designed to be an overview, a starting point for developers familiar with database and PHP concepts.
_________________
Modular Merchant Mail Bag
Answering your questions, queries and puzzlers.
Modular Merchant shopping cart software, website hosting, and custom programming.
Display posts from previous:   
Post new topic   Reply to topic    Modular Merchant Forum Index -> Pre-Sale Questions All times are GMT - 7 Hours
Page 1 of 1

 
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


Powered by phpBB © 2001, 2005 phpBB Group