Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Show Vendor's Clean URL in their Admin Area.

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 11-07-2019, 05:03 PM
  Blainevk's Avatar 
Blainevk Blainevk is offline
 

Senior Member
  
Join Date: Dec 2004
Location: Atlanta, GA
Posts: 162
 

Default Show Vendor's Clean URL in their Admin Area.

Hello,

I'm creating a SHORT URL for each of my Vendors, which will redirect to their actual Multi-vendor store, for example...


http://blainesdesigns.travelpointsgiftmall.com ( <<< this is a real SHORT URL )

...THAT REDIRECTS TO...

http://blainestravelclub.com/travelpoints/giftmall/blainesdesigns.html


On a Vendor's Admin Home Page, I want to display their SHORT URL, and I'm asking if anyone knows the Code that would collect the Vendor's Clean URL from the database and display it, similar to...

http://{{VendorCleanURL}}.travelpointsgiftmall.com
__________________
Blaine

X-Cart Multi-vendor 5.4.1.35
PHP version: 8.1

Blaine's Travel Club - http://blainestravelclub.com

Collect Travel Points - http://blainestravelclub.com/travelpoints/rewards/

Travel Points Gift Mall - https://blainestravelclub.com/travelpoints/giftmall/

Grow Your Business - http://blainestravelclub.com/business/

Making Money & Fun - http://blainestravelclub.com/travelers/

Charitable Fun-razing - http://blainestravelclub.com/fun-razors
Reply With Quote
  #2  
Old 11-08-2019, 07:42 AM
 
memoto memoto is offline
 

X-Cart team
  
Join Date: Feb 2018
Posts: 246
 

Default Re: Show Vendor's Clean URL in their Admin Area.

Quote:
Originally Posted by Blainevk
Hello,

I'm creating a SHORT URL for each of my Vendors, which will redirect to their actual Multi-vendor store, for example...


http://blaines-designs.partypointsgiftmall.net ( <<< this is a real SHORT URL )

...THAT REDIRECTS TO...

http://blainespartynetwork.net/partypoints/giftmall/blaines-designs.html


On a Vendor's Admin Home Page, I want to display their SHORT URL, and I'm asking if anyone knows the Code that would collect the Vendor's Clean URL from the database and display it, similar to...

http://{{VendorCleanURL}}.partynetworkgiftmall.net

I believe this can be easily done with a standard hosting domain redirect, without any specific code changes. It will work in the same way as with a subdomain. I believe your hosting team will help you with that.
__________________
X-Cart Team
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:13 AM.

   

 
X-Cart forums © 2001-2020