Store Slug* with Hyphen | vendor-name breakes

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Ultimate Store Slug* with Hyphen | vendor-name breakes

Viewing 12 reply threads
  • Author
    Posts
    • #58871
      wwsAdmin
      Participant

      Hello team,

      When ever we pass hyphen in Store Slug* like : abc-xyz, mystore-link.

      It throws error `Uncaught SyntaxError: Unexpected token { in JSON at position 57
      at JSON.parse (<anonymous>)
      at Function.n.parseJSON (jquery.js:4)
      at Function.a.parseJSON (jquery-migrate.min.js:2)
      at Object.success (wcfm-script-vendors-manage.js:155)
      at i (jquery.js:2)
      at Object.fireWith [as resolveWith] (jquery.js:2)
      at y (jquery.js:4)
      at XMLHttpRequest.c (jquery.js:4)`

      Something is breaking. For vendor, store get created but doesn’t work.
      This is happening from recent update. Kindly Look.

      Thanks

    • #59124
      WCFM Forum
      Member

      HI,

      Well, there is no restriction from WCFM Marketplace – https://ibb.co/Q6GkJhg

      Between, are you using “wcfm-” in slug? If so, then do not use this, this is restricted keyword.

      Thank You

    • #59491
      wwsAdmin
      Participant

      HI,

      no am not using wcfm.
      Hyphen issue is happening with recent last 2 weeks. earlier also we created with hyphen those are working super fine.
      but not recently created.

      thanks

    • #59640
      WCFM Forum
      Member

      HI,

      Well, WCFM has no restriction over store slug “hyphen”

      May be some other plugin if your site causing this.

      In our demo we have all latest plugins and store url generated using hyphen, no issues – http://wcfmmp.wcfmdemos.com/store/demo-store/

      Thank You

    • #59678
      wwsAdmin
      Participant

      Hi,

      yes untill 2-3 weeks back, store which were created are working fine.
      In this 2-3 weeks, whatever store we created in that this issue is happeing.

      Thanks

    • #59701
      WCFM Forum
      Member

      Hi,

      You are not even able to set slug with hyphen after creating store from setting panel?

      How you are creating store?

      Thank You

    • #59718
      wwsAdmin
      Participant

      Hi,
      Store is getting created via vendor registration panel.
      during registration he is able to give slug and get it proper but when we try to access slug, nothing comes blank page. (similar kind of behaviour can be seen if we disable vendor and access it url)

      When we try to set from admin panel some error is throw which i posted.

      thanks

    • #59823
      WCFM Forum
      Member

      Hi,

      DO you have any such store URL right now, then please give me this URL.

      Thank You

    • #60002
      wwsAdmin
      Participant
      This reply has been marked as private.
    • #60221
      WCFM Forum
      Member

      HI,

      OK, so those are disable vendor.

      Well, disable vendor store page does not work.

      But, this should 404 page like this – https://ibb.co/k0zzn5m

      Is your theme does not have 404 template support?

      Thank You

    • #60258
      wwsAdmin
      Participant
      This reply has been marked as private.
    • #60315
      WCFM Forum
      Member

      HI,

      Please check at wp-admin -> WooCommerce -> Status -> Logs -> fatal_erros log -> is any error generated when you are browsing such URLs?

      Also keep ON WP_DEBUG from wp-config.php

      Thank You

    • #60457
      wwsAdmin
      Participant

      HI,

      WP DEBUG is on still NO message on screen,

      No fatal log generated while running such url

      Thanks

Viewing 12 reply threads
  • The topic ‘Store Slug* with Hyphen | vendor-name breakes’ is closed to new replies.