Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How about some QR Codes that direct mobile user to instant discounted purchase?


myrestomod

Recommended Posts

I hope this is the correct forum to post this... if not, please direct me:

 

First of all, thanks to whomever knows how to program... without folks like you, folks like me couldn't work on the net.

 

Also, my degree of knowledge is all by trial and error (I can follow directions) and any customizing I've done to my site was by making a change to the file, seeing the results, then on many occasions, changing things back because the OS Comm doesn't like those of us fooling around where we shouldnt be treading... :)

 

So this brings me to my thought... I would love to have a QR code that was printed on paper (traditional medium) that when scanned by a smart phone, will automatically take that person to a page on the site that inclused a special discount for that particular product (and only can recevied the discount by being accessed by the QR code) to make an instant purchase.... if the person does not buy upon scanning that qr code withing 24 hours, they lose the ability to do so at a later date.

 

I've created QR codes that when scanned will take a specific person to the product page, but they have to add the item to the cart, then apply a discount code, then select payment...etc...

 

My idea is a QR Code that when scanned, takes the person to a mobile page that their phone can read easily which already added the item to the cart with the discount applied, using paypal with one button left to tap to execute order... then grabbing the purchaser's info from paypal to record the sale on OSCommerce...

 

I know that is NOT a lot to ask for...(LOL)... is anyone working on such an animal... if not, does it appeal to any programmers... I would happily be the test subject if anyone cares to tackle this...

 

please let me know what you think of this process...

 

thanks in advance

 

Pete

 

Link to comment
Share on other sites

My question then is this,... I got the first suggestion you made to function great... the second part is a bit trickier for me...

 

here is what is in my addproduct file

 

1 <?php

2 require('includes/application_top.php');

3 require('includes/modules/order_total/ot_discount.php');

4 $cart->remove_all();

5 $cart->add_cart(32);

6 tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, '', 'SSL'));

7 ?>

 

now is there an easy way to insert the coupon with the discount in this script so it shows regardless of whether or not the customer has logged in... I am currently using Discount Codes 2.3 and it is working properly. anyway to call the discount from that setup in the above PHP?

 

thanks a million

Link to comment
Share on other sites

how about this idea... anyway to create a "special" and then have it only appear for the item added in addproduct.php?

 

I have done this fine, but it also is avialble to anyone at the store... under that product both the regular and the special are listed... obviously any alert shopper will simply choose the special...

 

anyway to use the special w/o having it listed globally as a product available to all?

 

thanks

Link to comment
Share on other sites

@@myrestomod

 

You will have to check and see how coupons are registered in that addon and add it to your code (not sure with that addon but sometimes it's in application_top.php or checkout_payment.php).

 

I don't think you should need this line:

 

require('includes/modules/order_total/ot_discount.php');

Matt

Link to comment
Share on other sites

@@myrestomod

 

You will have to check and see how coupons are registered in that addon and add it to your code (not sure with that addon but sometimes it's in application_top.php or checkout_payment.php).

 

I don't think you should need this line:

 

require('includes/modules/order_total/ot_discount.php');

 

yep,,, don't need that and I forgot to delete it... I was (i think) doing what you suggested... trying to find the lines that were in the 'discount coupon' addon and insert them in the auto-add to cart one... I suppose if I can figure out how the specials work, i can automatically add the special to the cart... but then again, that special is available to all... would be nice to have the ability to create a special and still have it active but optional if it shows in the general product populations... kinda like just having hidden secret products that only appear when called by their item number....

 

I wish I knew code... so trial and error... trial and error... kinda like the manual life gives ya.... LOL

Link to comment
Share on other sites

I figured out how to get the product added to the cart as well as the discount code to remain present until they either create a new account or log in as a returning visitor.... at least I think it works...

 

by adding the following to the end of the url

 

http://mymakebelievemadeupstore.com/oscart/catalog/index.php?cPath=1&sort=2a&action=buy_now&products_id=32&discount_code=test001

 

this worked for me and it worked from scanning the QR Code.... the coupon is automatically populated in the field upon registering or loggin in.

 

any thoughts on why this would not be a good idea to use???

 

thanks

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...