Post by doug3515 » Fri May 27, 2016 11:33 pm

Assumptions:
  • 1 generic open cart product
    separate php mysql DB with 800,000 records
We want to take the records we have and use a generic product from within open cart to populate feilds within the product via URL and have people be able to purchase the item.

so in a normal URL format
index.php?route=product/product&path=1&product_id=1

want to make it work like this
index.php?route=product/product&path=1&product_id=1&article_id=100&article_name=Smith%20and%20Wesson

the product within open cart would then place the article id and name in the right spot for the product and the user could then check out with those names listed.


Any way on doing that?

Attachments

smith.png

example - smith.png (15.56 KiB) Viewed 502 times


Newbie

Posts

Joined
Tue Sep 27, 2011 9:55 pm

Post by doug3515 » Sat May 28, 2016 8:59 am

bueller?

Newbie

Posts

Joined
Tue Sep 27, 2011 9:55 pm

Post by IP_CAM » Sat May 28, 2016 9:51 am

... as long as you stay on the same URL, you could (probably) easy save each Product Page, individually, as HTML Page, and then, make ALL Page-internal LINKING, like Javascripting, and/or image Links, to to match valid Linking to Content. ALso, you'd probably have to remove some Stuff, from such a Page, if you don't want some Links, 'forwarding' such a Page automatically to the OC Product Page or other OC-placed Sections.

I tried it, and only failed, because I 'made' the order from my local PC, and the security Settings on the Server prevent, by DEFAULT. such an Order to be added to the Shop. At least, by use of my old IE8, I was able to add it to the Wishlist !
https://developer.mozilla.org/en-US/doc ... ntrol_CORS

And check here too, some Extensions for such exist already:

http://www.opencart.com/index.php?route ... url%20link

It's gonna be a lot of work, in any way, just be aware of that.
Good Luck ;)
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 54 guests