Can I add a feature after I have setup and installed Composr?
Posted
#8354
(In Topic #2747)

Standard member

I've decided I want to add ecommerce but the website is all set up and almost ready to open to the public. Can I do this?
I've decided I want to add ecommerce to the features but the website is already set up and almost ready to open to the public. Can I do this?I'm sure there is something on this and I have searched but have not found something to guide me.
I saw the video about using cataloges for a product list and using the paypal button for collecting the payment - and this sounds like something I could use... but I failed to initially include the ecommerce module in my set up. So I am wondering what is the best way to add that module at this time. Thank you.
Art and Imagination
of David L Friend
http://davidlfriend.com
My Business Art Gallery
powered by ocPortal
Posted

Site director

Yeah, you just reinstall the addon. From Admin Zone > Structure > Addons.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Posted

Standard member

I was watching the video Setting up a shopping catalogue with PayPal and the video shows a PRODUCTS page (shown accessable from the main menu under Contents) from which is created a Products category using (I believe) the Catalogues feature. Where do I find this PRODUCTS page or is it something I create somehow? Maybe it is created at ADD CATALOGUE?
Sorry I've never explored the Catalogues feature
Art and Imagination
of David L Friend
http://davidlfriend.com
My Business Art Gallery
powered by ocPortal
Posted

Standard member

Art and Imagination
of David L Friend
http://davidlfriend.com
My Business Art Gallery
powered by ocPortal
Posted

Standard member

I believe I can rename and modify the Products Catalogue and go from there but I'm wondering if there is any easy way to just duplicate the catalogue and then go from there?
Art and Imagination
of David L Friend
http://davidlfriend.com
My Business Art Gallery
powered by ocPortal
Posted

Standard member

Art and Imagination
of David L Friend
http://davidlfriend.com
My Business Art Gallery
powered by ocPortal
Posted

Standard member

So I have been working on a new website using Composr 10.0.33 This also is completely functional although it has not been opened yet. While the old website is accessed through Art and Imagination of David L Friend I built the new site under to be accessed by https://DavidLFriend.com/add_site.
If you look at the files through ftp or a file manager the old website is installed under PUBLIC_HTML while the new website is installed under PUBLIC_HTML/ADD_SITE.
Here is my question. Can I delete all the ocPortal files under the PUBLIC_HTML directory and then copy all the files for the new website which are in the PUBLIC_HTML_ADD_SITE directory and put them in the PUBLIC_HTML folder so that the DAVIDLFRIEND.COM domain points to the new website.
Maybe there is an easier way? If so I am open to suggestions. Thank you.
~~~~~~~~~~~~~~~~~~~~~
Also it comes to mind… should I upgrade the Composr 10.0.33 version to the latest stable version before or after I move the directory?
Art and Imagination
of David L Friend
http://davidlfriend.com
My Business Art Gallery
powered by ocPortal
Posted

Site staff

In your hosting control panel you should be able to set the root of your domain to point at the add_site directory and it should load that up on your main domain without issue (after a few minutes up to an hour for the changes to be reflected). Probably the easiest way and I'm sure most control panels allow you to set the root directory for the domain name (as they do for subdomains). Of course this will make your old site redundant (though you could have that loading from a subdomain if you want to keep it online). Your hosting company will likely make this root directory change for you if you run into any issues but it's easy enough (at least in my hosting control panel).
Hope this helps.
Adam
Posted

Standard member

Art and Imagination
of David L Friend
http://davidlfriend.com
My Business Art Gallery
powered by ocPortal
Posted
Standard member

First I contacted my domain host (godaddy) and read their tuts on forwarding domain. Well that was a dead end, I ended up not being able to access either my old website or the new one, and even locked myself out of my cpanel. To get out of that I had to cancel the forwarding.
Oops! I found out that when I canceled forwarding, godaddy resets your domain name to something that said 'This domain may be available'
So I had to put in the ip address to my old website (which is my root directory for my Arvixe webhost account). That got me back to where my old site is accessible, along with cpanel and such.
I have inquired if my webhost could change the root directory to the PUBLIC_HTML/ADD_SITE and the said this is not something the will be able to do. Their reply was
The domain 'davidlfriend.com' is the primary domain and cant be pointed to any other folders other than the public_html folder. We can no longer change the document root for your main (primary) domain. This breaks the existing database configurations, plus other issues. Document roots can only be changed on addon domains.
If you still want the root folder for your primary domain to be something other than public_html, you have two options:
1. Change the primary domain name on your account, then add the old primary domain as an addon domain. This way you can pick the root folder you want.
2. Use mod_rewrite to automatically redirect your website visitors to a new default directory. However, you have to check the .htaccess code on the Internet.
So, I guess I understand the first option but not what I wanted to do. Not so sure about the 2nd option as to what I have to do to make that work.
Still wonder if I should just do something like back up the new site - never done that before - and install that, either in a new account or delete the original old site and replace it with my new website from the back up. Again all this is new territory for me.
What I thought would be relatively easy has turned into pushing a big rock up a steep hill. Surely there is an easier path?
Posted

Site staff

Code
RewriteEngine on
RewriteCond %{HTTP_HOST} ^DavidLFriend\.com$
RewriteRule (.*) http://www.DavidLFriend.com/$1 [R=301,L]
RewriteRule ^$ add_site [L]
1 guest and 0 members have just viewed this.