jimdanforth Posted November 20, 2023 Posted November 20, 2023 dug through the wiki and either I'm dense (highly likely) or instructions just don't exist. We did a single channel install for a site that now needs a second channel for b2b use. I see how to create a new sales channel, but Im totally stalled out on how to point customers there. I see the symlinks still in place and they function in pointing back to the default store. Can someone point out instructions on re-creating the new channel and getting there? Quote
Ken Shea Posted November 20, 2023 Posted November 20, 2023 (edited) Jim, Could be reading what you are wanting wrong because it is too simple an answer LOL Go to admin>dashboard, Sales Channel, at the end right before "App Shop" Click and upper right is "Add new Sales Channel" then select that new channel and you can edit or configure from there . Edited November 20, 2023 by Ken Shea Quote
jimdanforth Posted November 20, 2023 Author Posted November 20, 2023 Did that. Now how to I point my customer there? Quote
jimdanforth Posted November 20, 2023 Author Posted November 20, 2023 maybe Im just not understanding channels. Since I deleted them on both my sites I don't have an example Quote
simon5968 Posted November 21, 2023 Posted November 21, 2023 once you've saved it go back into sales channels and you should see the new channel you made and to the right of it the url link to get to it. If it is not showing a url or the url is not right go back in a edit the sales channel and make changes to the "Sales channel url*". i just tried and was not sure how to link to a folder (channels tend to be in folders in same dir) so i had to put in mysitename dot oscommerce dot host (as it on the free hosting for testing). then go over each setting in that change as some you would not think of will make it work or not. Quote
simon5968 Posted November 21, 2023 Posted November 21, 2023 3 hours ago, jimdanforth said: maybe Im just not understanding channels. Since I deleted them on both my sites I don't have an example 17 minutes ago, simon5968 said: once you've saved it go back into sales channels and you should see the new channel you made and to the right of it the url link to get to it. If it is not showing a url or the url is not right go back in a edit the sales channel and make changes to the "Sales channel url*". i just tried and was not sure how to link to a folder (channels tend to be in folders in same dir) so i had to put in mysitename dot oscommerce dot host (as it on the free hosting for testing). then go over each setting in that change as some you would not think of will make it work or not. Quote
jimdanforth Posted November 21, 2023 Author Posted November 21, 2023 This not not creating any directory that I can see via ftp. Quote
simon5968 Posted November 21, 2023 Posted November 21, 2023 right I'm sorry for what i posted after an hour of investigating and research you only get the option to use up to 4 x Sales channels and a splash page or a single site option on installation and I'm not sure on the single site installation (because I haven't done one yet) if you can add the other 4 sales channels or not but the splash page can be converted to a shop by changing the template in admin > Sales channels. but with the multi channel install you get the 4 x channels and the splash but the way the 4 x channels are created it is only at installation they can be created so without going in to thing openly there is a select few files that if they are not in the dir then they can not be recreated without an re-installation. Quote
jimdanforth Posted November 21, 2023 Author Posted November 21, 2023 @pandrei is there a way to recreate the previously deleted (or not installed) sales channels? Quote
Jack_mcs Posted November 21, 2023 Posted November 21, 2023 15 hours ago, jimdanforth said: maybe Im just not understanding channels. If you are trying to access the new sales channel with a url similar to the built-in ones, like https:...com/furniture, you have to add a symlink for the new channel. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
jimdanforth Posted November 21, 2023 Author Posted November 21, 2023 symlink is still there but is pointing to the base store. There is no other directory etc yo point it to. Quote
Jack_mcs Posted November 21, 2023 Posted November 21, 2023 1 hour ago, jimdanforth said: symlink is still there but is pointing to the base store. There is no other directory etc yo point it to. There needs to be a symlink for each sales channel if you are using the format of the url I mentioned. When installed, V4 creates the symlinks for the included sales channels. But for new sales channels, you have to manually add the symlink. Directories are not used for the different sales channels so you can't access them as you would if the directories were used. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
simon5968 Posted November 21, 2023 Posted November 21, 2023 1 hour ago, Jack_mcs said: you have to manually add the symlink is there a guide on manually add them please? Quote
Jack_mcs Posted November 21, 2023 Posted November 21, 2023 25 minutes ago, simon5968 said: is there a guide on manually add them please? There are many examples on the web. Here's one. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
simon5968 Posted November 21, 2023 Posted November 21, 2023 I'm temporarily on oscommerce free hosting for setting up, so we can not use Command line on the server or can we make the file on are laptop's then upload them? but if osCommerce does it at install then we must be able to do it now? Quote
simon5968 Posted November 21, 2023 Posted November 21, 2023 would this work? https://www.php.net/manual/en/function.symlink.php Quote
Jack_mcs Posted November 21, 2023 Posted November 21, 2023 3 hours ago, simon5968 said: would this work? Maybe. But you would need to be able to add the file. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
simon5968 Posted November 21, 2023 Posted November 21, 2023 It's all good, have deiced to get a cPanel hosting account, just can't hosting doesn't feel right unless you can do what you want. Quote
jimdanforth Posted November 22, 2023 Author Posted November 22, 2023 I have tried using the symlink still present from the original install. It is still opening the default store. And yes, I have changed the them to make sure I can see the difference. Quote
pandrei Posted November 22, 2023 Posted November 22, 2023 18 hours ago, jimdanforth said: @pandrei is there a way to recreate the previously deleted (or not installed) sales channels? No, there is not. You can create sales channels manually and assign categories/products to it. Quote
simon5968 Posted November 22, 2023 Posted November 22, 2023 (edited) 10 hours ago, pandrei said: No, there is not. You can create sales channels manually and assign categories/products to it. Then manually create symlink to them on the main site domain account (if I'm correct on this stage). Edited November 22, 2023 by simon5968 update Quote
simon5968 Posted November 23, 2023 Posted November 23, 2023 if i have this right what do we put into [source] and [destination] to make the symlink and how do we give it a name so we can add it to the channel in back-end so it know what to use? is it [/][] Quote ln [-sf] [source] [destination] By default, the ln command creates a hard link. Use the -s option to create a soft (symbolic) link. The -f option will force the command to overwrite a file that already exists. Source is the file or directory being linked to. Destination is the location to save the link – if this is left blank, the symlink is stored in the current working directory https://phoenixnap.com/kb/symbolic-link-linux . Quote
pandrei Posted November 23, 2023 Posted November 23, 2023 3 hours ago, simon5968 said: if i have this right what do we put into [source] and [destination] to make the symlink and how do we give it a name so we can add it to the channel in back-end so it know what to use? Here is instruction how to create a symlink for standard sales channels of osCommerce: Quote
jimdanforth Posted November 23, 2023 Author Posted November 23, 2023 This was finally solved and wanted to document it in case someone else had the same problem. The issue was with a wildcard redirect that was sending everything to the default sales channel. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.