| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Load shop in external site | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||||
|
|||||||||
|
Is there some mod out there which can do the following:
Imagine you have site A en the X-Cart shop is on site B; goal is to sell products on site A without leaving site A; so basically the complete add to cart and checkout steps will have to be loaded from site B (where the X-Cart shop is) into a main content section of site A. The products on site A do not have to be loaded from site B, they will only have the 'add to cart' link for that specific product; after clicking it, the cart and checkout procedure will be loaded from site B. Does this make sense?
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ----------------------------------------------------------------------------------------------------------------------------------------- |
|||||||||
|
#2
|
|||||||||
|
|||||||||
|
i think that is pissible.
You need to modify skin to remove header, footer, menus and add "add to cart" links or buttons. After that you can load x-cart into frame or iframe at site A.
__________________
Regards, Piotr Markushin X-Cart PDF Catalog Generator NEW Professional X-Cart Skins Store (7 new skins added in August 2008!) ahedOffice.com - Web 2.0 Online Groupware |
|||||||||
|
#3
|
|||||||||
|
|||||||||
|
Thnaks for the suggestion, you really think that's the only way? Nobody run into a solution (read mod) that could do something like that?
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ----------------------------------------------------------------------------------------------------------------------------------------- |
|||||||||
|
#4
|
|||||||||
|
|||||||||
|
There is also a way simply insert add to cart link into product description or modify templates.
Then customer would go between two sites after adding product to cart.
__________________
Regards, Piotr Markushin X-Cart PDF Catalog Generator NEW Professional X-Cart Skins Store (7 new skins added in August 2008!) ahedOffice.com - Web 2.0 Online Groupware |
|||||||||
|
#5
|
|||||||||
|
|||||||||
|
Quote:
That's exactly what I am trying to avoid
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ----------------------------------------------------------------------------------------------------------------------------------------- |
|||||||||
|
#6
|
|||||||||
|
|||||||||
|
Then maybe using x-cart shopping cart, and whe customer press checkout, go to site B with whole cart transfered via GET or POST request?
If so, you need to place a form with hidden fields at the cart page, and fill it with product ids, amount and options if any. And whe customer press checkout button, it just submits the form.
__________________
Regards, Piotr Markushin X-Cart PDF Catalog Generator NEW Professional X-Cart Skins Store (7 new skins added in August 2008!) ahedOffice.com - Web 2.0 Online Groupware |
|||||||||
|
#7
|
|||||||||
|
|||||||||
|
Sounds plausibel but rather difficult, I was kind of hoping there was another (easier way)
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ----------------------------------------------------------------------------------------------------------------------------------------- |
|||||||||
|
#8
|
|||||||||
|
|||||||||
|
It's not difficult, I think.
HTML Code:
And at site B you get $products = $_POST['products']; $products array where ey is product id, and value is amount. If you have options, it vould be a bit more complicated, but also possible.
__________________
Regards, Piotr Markushin X-Cart PDF Catalog Generator NEW Professional X-Cart Skins Store (7 new skins added in August 2008!) ahedOffice.com - Web 2.0 Online Groupware |
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||