Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Transferring Cart/Auto updating DB from a alternate namespace


hanssteinke

Recommended Posts

Hi all. I am new osCommerce and ecommerce development so bear with me.

 

I have installed osC and need to make a few modifications but require some guidance. My parent site has provided me Developer/Namespace instructions to connect my database items to their database for auto update of prices and product descriptions, Where do i put or how to i edit this info in osC? Here's a few examples:

 

public DCGetProductInfo()

public DCUserContext UserContext { get; set; }

 

For the cart...i need to transfer the cart to be fulfilled by my parent company. I need to know where to input this code. Here's an example:

 

<form action="http://"PARENTWEBSITE"/us/shop/cart/upload/ShoppingCartTransfer.aspx" method="post">

<strong>Are you interested in:</strong><br />

<input type="radio" name="custtype" value="81" />

Purchasing Products (Retail Customers)<br />

<input type="radio" name="custtype" value="03" checked="checked" />

Becoming a Member (Instant Member Application)<br />

<input type="hidden" name="ownerid" value="123456" />

<table cellpadding="5" cellspacing="5">

<tr>

<td> </td>

<td><strong>Quantity</strong></td>

</tr>

<tr>

<td>

<input type="checkbox" name="prodnum" value="302" />

<strong>Alfalfa</strong>

</td>

<td>

<input type="text" name="prodqty" size="5" />

</td>

</tr>

<tr>

<td>

<input type="checkbox" name="prodnum" value="40951" />

<strong>Thai-Go Drink</strong>

</td>

<td>

<input type="text" name="prodqty" size="5" />

</td>

</tr>

</table>

<br />

<input type="submit" value="Buy Now" />

</form>

 

 

I appreciate any guidance you all may be able to provide. Thank you in advance :)

Edited by hanssteinke
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...