HomeHome Product Discus... Product Discus...SmithCartSmithCartInserting information automatically into product fieldInserting information automatically into product field
Previous
 
Next
New Post
1/17/2012 3:29 PM
 

Hi,

Smithcart Version: 04.86.00

DNN Version: 06.01.02 (98)

SQL Version: 2008 R2 (SQLEXPRESS)

Currently running in development (localhost)

First I will describe what I am trying to achieve, I am setting up a website for an overseas aid agency that requires  user entered donations, recurring sponsorships, and a catalogue of items. This question is in regards to user entered donations. The organisation has many projects that they would like to give the public the option to donate to. Instead of setting up a seperate product for each project, my goal is to have 1 product called "project donation" and  have the variant automatically fill in which project from the page the user clicked the donate button. (eg the project information page will be www.organisation.org/article/34/Ethiopia_Maternal_Child_Health) is there a way to have Ethiopia_Maternal_Child_Health fill a field in the product somewhere so that the user can be sure there donation is for the right thing and the organisation can process the donation properly?

Or is there another solution to achieve the same thing?

 

Thank you for your help.

Ivan

 
New Post
1/18/2012 5:57 PM
 
Hi Ivan,

I'm sorry but I am not quite following what you wish to achieve, are you asking to direct the user to the Cart page using a link on another page of your site and have the variant added to the Cart? Please clarify.

Thanks,
 
New Post
1/18/2012 6:19 PM
 

Hi Kevin,

 

Thanks for your reply.

Sorry for the confusion. Basically I would like the user to be able to click the "add to cart" button and when the product goes to the cart it takes some information from the page that it came from(eg, the last portion of the web address) in the same way that using a variant text box works.

I am trying to avoid producing an individual product for every project, especially for simplicity of adding future projects. I am open to simpler/better/already existing methods to achieve the same result.

I hope this is a bit clearer.

Thanks

Ivan

 
New Post
1/19/2012 4:19 PM
 
Hi Ivan,

Currently, to add Product Variants to the Cart you must first direct the user to the Product Details page to select the Variant either by click the "Add Options" button from the ProductListing page or if you would like to link to the the Product Details module to display a specific product, the productID must be passed in the URL for example : www.yourdomain.com/ProductDetails/tabid/119/ProductID/14/Default.aspx

Just a thought, but you may want to consider using the SmithRegistionPro module as you would only have to set up 1 initial product which you and allow the user to enter and amount they wish to donate and proceed right to through checkout without first having to add the Product to a Cart.

Hope this helps!
 
New Post
1/19/2012 6:42 PM
 

Hi Kevin,

Thanks again for your reply.

In regards to SmithRegistrationPro, I like the idea, but we need to use a cart, because we we have multiple types of products ie donations to projects, child sponsorships and a catalogue of gifts. So we need to give our users the opportunity to select more than 1 item at a time.

I know our usage will be reasonably unique, but is it possible to implement a feature such as we need, eg using [tokens] in a Product Variant that is auto filled from the BuyNow module? If so how much would it cost?

Thanks for your time and help

Ivan

 
New Post
1/23/2012 7:44 PM
 

Hi Ivan,

I apologize but I am still having a little trouble following what you wish to achieve. i believe in the next release of the Cart we may be releasing a feature which supports the desired behavior you are looking for which is the following, please confirm if this will support what you are asking.

 

New Cart Querystring Product Variant Option
  • The ability to pass products configured with variants to the cart page using the querystring.
  • For example, the format of the URL when passing multiple product ids and variant ids in the querystring would be the following:
    • https://www.mydomain.com/BuyNow/cart.aspx?Variants=1~3~5;14~34~35~38
    • The semi colon is used to delimit productids and the tilde is used to delimit variants.  This format allows you to add multiple products and multiple variants and associate products with a specific set of variants.

Thanks,

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartInserting information automatically into product fieldInserting information automatically into product field