i want to realize a single product page as a landingpage that will be promoted via instagram/google ads.
maybe something like this: https://www.dji.com/de/avata
this landingpage has to be 100% free in design, so i can have a standalone look not necessarily connected to my overall shopdesign. it should be possible to put the product into the cart straight from this page (or maybe even ordered on that very same page?).
as the product might have a discount, it should NOT be visible anywhere else in my shop (categories, related products, etc.).
i am experienced in html/php.
as far as i can see there are two main options to technically realize this:
-----
1.) add a new product to my shop and design a n individual template in OC which 'cuts away' all the rest around the product (navigation, information, etc.).
advantages:
- technically easy to put product in cart and order it.
- easy to maintain product via shop admin.
- easy tracking via OC affiliate X pack extension
disadvantages:
- OC template system. :-( all page builder extensions i found via marketplace where old or rated 'average'.
- loading times of landingpage?
- mobile friendliness of landingpage?
-----
2.) design and program an external standalone landingpage in html/php and technically integrate a product from my shop, so i can order it with as few clicks as possible.
advantages:
- 100% freedom of design!
- easy to duplicate for other products/google ads.
disadvantages:
- no native integration of product (including options etc.) into OC
- got to technically solve an easy (= SHORT) way to put item in cart and order it.
anyone done this before? any recommendations (e.g. extensions that solve the problems mentioned above)?
what'd you guys reckon to be the best way to realize this and why?
CHEERS and greetings!
---
Environment
php: 7.4.33
Browser: Chrome latest
---
OpenCart
2.3.0.2 singlestore (bugfree edition by xxvirusxx: https://github.com/condor2/Opencart_2302)
DE language by OSWorX (https://www.opencart.com/index.php?rout ... n_id=31048)
Template: Sellmore by 321cart
quite a few Extensions :-)
Why would you need this? It is a really simple little exension to use a template override. Here is something that I did a while back for one of my own stores ( I assume OC3, but same principle for OC2).- OC template system. :-( all page builder extensions i found via marketplace where old or rated 'average'.
Code: Select all
<modification>
<name>Product Page Template Override</name>
<version>1.0</version>
<code>vger_ppto</code>
<author>grgr - vger.co.uk</author>
<file path="catalog/controller/product/product.php">
<operation>
<search><![CDATA[
$this->response->setOutput($this->load->view('product/product', $data));
]]></search>
<add position="replace"><![CDATA[
if ($this->config->get('config_theme') == 'default') {
$directory = $this->config->get('theme_default_directory');
} else {
$directory = $this->config->get('config_theme');
}
if ($directory != 'default' && is_file(DIR_TEMPLATE . $directory . '/template/product_id/product'.$product_id.'.twig')) {
$this->response->setOutput($this->load->view('product_id/product'.$product_id, $data));
} elseif (is_file(DIR_TEMPLATE . 'default/template/product/product.twig')) {
$this->response->setOutput($this->load->view('product/product', $data));
}
]]></add>
</operation>
</file>
</modification>
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
i know how to actually assign a new template, cheers.grgr wrote: ↑Tue Aug 29, 2023 3:59 pmWhy would you need this? It is a really simple little exension to use a template override. Here is something that I did a while back for one of my own stores ( I assume OC3, but same principle for OC2).- OC template system. :-( all page builder extensions i found via marketplace where old or rated 'average'.
maybe it was a bit unclear, what i meant:
1.) an OC "page builder" that gives me the opportunity to design and build the landingpages all inside OC (easy to use a product and checkout process, but slower than external hosted pure html landingpage and no full control over design such as animations and effects).
2.) manually build an external landingpage in html and somehow add a product from OC (full control over design and functionality, but technically difficult to include product incl. options and connect to OC checkout).
PS: after having slept over this topic once, i guess my preferred way to go would be 2.).
any ideas anyone on how to realize this?
greetings!
---
Environment
php: 7.4.33
Browser: Chrome latest
---
OpenCart
2.3.0.2 singlestore (bugfree edition by xxvirusxx: https://github.com/condor2/Opencart_2302)
DE language by OSWorX (https://www.opencart.com/index.php?rout ... n_id=31048)
Template: Sellmore by 321cart
quite a few Extensions :-)
---
Environment
php: 7.4.33
Browser: Chrome latest
---
OpenCart
2.3.0.2 singlestore (bugfree edition by xxvirusxx: https://github.com/condor2/Opencart_2302)
DE language by OSWorX (https://www.opencart.com/index.php?rout ... n_id=31048)
Template: Sellmore by 321cart
quite a few Extensions :-)
You have given two different explanations as to what you want (for our purposes) you say a homepage and then ask about external page.
What you want to do (as per your original request for landing page) can be done by editing the home.tpl / using the template suggestion from grgr.
You would probably have to edit the home.php for the complete effect / use css.
What you want to do (as per your second request for external page) can be done using a modification that automatically adds to cart links - something like this
https://www.opencart.com/index.php?rout ... n_id=36520
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Web Development for service businesses serious about online growth
as i said: this is supposed to be a standalone landing page which necessarily got NOTHING to do (visually!) with the rest of my shop (besides my logo).
i just do wanna use the existing OC order/payment platform behind it and save customer to the existing database
---
Environment
php: 7.4.33
Browser: Chrome latest
---
OpenCart
2.3.0.2 singlestore (bugfree edition by xxvirusxx: https://github.com/condor2/Opencart_2302)
DE language by OSWorX (https://www.opencart.com/index.php?rout ... n_id=31048)
Template: Sellmore by 321cart
quite a few Extensions :-)
i said the one thing i wanna achieve:
"a single product page as a landingpage that will be promoted via instagram/google ads."
and i showed two possibe solutions i can think of to achieve this.
all i wanted to know was if someone has done something similar already. and which way he/she decided to go with (and why)...
you mean by using the home.tpl as a base and duplicate it? i do NOT want the homepage of my shop to be a single-product-landingpage. landing should only be accessible via direkt link (from ads). so not a modification of the whole shop. rather a hidden addon product/page...
thanks, but i do have to include the product into the external page first.by mona wrote: ↑Fri Sep 01, 2023 4:59 pmWhat you want to do (as per your second request for external page) can be done using a modification that automatically adds to cart links - something like this
https://www.opencart.com/index.php?rout ... n_id=36520
and customers will have to choose between 6 options first (so its not a one-click-solution).
and i am gonna use a paypal express direct-checkout button on the landing page to skip the shop/cart/checkout completely until someone has bought the product...
---
Environment
php: 7.4.33
Browser: Chrome latest
---
OpenCart
2.3.0.2 singlestore (bugfree edition by xxvirusxx: https://github.com/condor2/Opencart_2302)
DE language by OSWorX (https://www.opencart.com/index.php?rout ... n_id=31048)
Template: Sellmore by 321cart
quite a few Extensions :-)
Web Development for service businesses serious about online growth
wasnt the question/problem i was trying to solve, though...
---
Environment
php: 7.4.33
Browser: Chrome latest
---
OpenCart
2.3.0.2 singlestore (bugfree edition by xxvirusxx: https://github.com/condor2/Opencart_2302)
DE language by OSWorX (https://www.opencart.com/index.php?rout ... n_id=31048)
Template: Sellmore by 321cart
quite a few Extensions :-)
really got no idea how i should describe it better/in a different way:
i wanna use the VERY SAME TECHNICAL PLATFORM/DATABASE (which generates consecutive invoice numbers, etc.)!
just the visual appearance should be (completely) different for JUST ONE PRODUCT...
---
Environment
php: 7.4.33
Browser: Chrome latest
---
OpenCart
2.3.0.2 singlestore (bugfree edition by xxvirusxx: https://github.com/condor2/Opencart_2302)
DE language by OSWorX (https://www.opencart.com/index.php?rout ... n_id=31048)
Template: Sellmore by 321cart
quite a few Extensions :-)
Web Development for service businesses serious about online growth
- independent (static) web page
- A product listing, picture etc. with an option dropdown to select
- A paypal button that goes straight to paypal
- someone buys the product
- Now record the sale in the opencart database as an order.
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
EX.ACT.LY.grgr wrote: ↑Sun Sep 03, 2023 5:55 pmSo if I am now reading this correctly, paraphrased as.
- independent (static) web page
- A product listing, picture etc. with an option dropdown to select
- A paypal button that goes straight to paypal
- someone buys the product
- Now record the sale in the opencart database as an order.
---
Environment
php: 7.4.33
Browser: Chrome latest
---
OpenCart
2.3.0.2 singlestore (bugfree edition by xxvirusxx: https://github.com/condor2/Opencart_2302)
DE language by OSWorX (https://www.opencart.com/index.php?rout ... n_id=31048)
Template: Sellmore by 321cart
quite a few Extensions :-)
---
Environment
php: 7.4.33
Browser: Chrome latest
---
OpenCart
2.3.0.2 singlestore (bugfree edition by xxvirusxx: https://github.com/condor2/Opencart_2302)
DE language by OSWorX (https://www.opencart.com/index.php?rout ... n_id=31048)
Template: Sellmore by 321cart
quite a few Extensions :-)
thanks, thread can be closed
---
Environment
php: 7.4.33
Browser: Chrome latest
---
OpenCart
2.3.0.2 singlestore (bugfree edition by xxvirusxx: https://github.com/condor2/Opencart_2302)
DE language by OSWorX (https://www.opencart.com/index.php?rout ... n_id=31048)
Template: Sellmore by 321cart
quite a few Extensions :-)
Users browsing this forum: No registered users and 0 guests