If this is your first visit, check our documentation. To post, register or login.
Forums / Code Matters / Zen Cart Code Suggestions / Admin product data page: strip http from url

Admin product data page: strip http from url

Started by torvista on 23 Aug 2012, 6:23 AM · Views: 75

Results 1 to 2 of 2
23 Aug 2012, 6:23 AM
#1
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Admin product data page: strip http from url

My suggestion:

The url (or urls for multi language stores) on the product data page are supposed to be entered without http.
I always copy and paste the urls in here..with the http included, I imagine most people do that to avoid typos.

Long ago I added a bit of code to strip the http prefix if it was pasted into the field.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

16 Aug 2017, 2:31 PM
#2
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Admin product data page: strip http from url

Bump.
and also for the manufacturers url.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...