You are here:  » Can't add Merchant name when registering feed


Can't add Merchant name when registering feed

Submitted by Perce2 on Sat, 2020-08-01 11:31 in

Hi David,

hope you are well.

Having a problem trying to register a feed that doesn't contain the merchant name. Entering the merchant name manually seems impossible as the feed won't import, but selecting any other available field in the merchant name dropdown allows the feed to import.

This is using PT v18/06A, have the same merchant working fine with other earlier PT versions. Is there something preventing entering manual names in this version?

Submitted by support on Sat, 2020-08-01 11:58

Hi,

The merchant name shouldn't contain any non alpha-numeric characters - if you try to enter a name containing such characters the form submission would show an error - that might be all it is; could you try with just a merchant name of "Test" (without the quotes), and if that works, let me know what merchant name you were wanting to use including the special characters and I'll check it out further with you...

Cheers,
David.
--
PriceTapestry.com

Submitted by Perce2 on Sat, 2020-08-01 14:27

Hi David,

yeah, already thought that might be the case so I tried using a single word like "test" but it still doesn't work.

Submitted by support on Mon, 2020-08-03 07:22

Hi,

That's strange - so when you try to submit the form on Feed Registration Step 2, does the Merchant Name legend go red (to indicate an error), and if you hover your mouse over it do you see the text "invalid characters"?

If that is the case, can you copy your current setting for $config_normaliseRegExp from config.advanced.php (line 90) - the default in the distribution is:

$config_normaliseRegExp = "A-Za-z0-9".chr(0x80)."-".chr(0xFF)." \.";

If it's failing in some other way could you try with $config_databaseDebugMode set to level 2 which will display any MySQL error and then exit - to do this, edit config.advanced.php and change line 6 as follows:

  $config_databaseDebugMode = 2;

Thanks,
David.
--
PriceTapestry.com

Submitted by Perce2 on Mon, 2020-08-03 08:35

There are no shown errors or invalid characters on submit, on submit the page re-loads as normal but with zero trial products.
Tried with debug set at level 2, no MySQL errors.

As mentioned, earlier installs I have work fine with the same merchant.

Submitted by support on Mon, 2020-08-03 09:00

Hi,

Ah OK - in that case, from /admin/ go to Tools > Feed Utilities and then click Parse Analysis next to the feed you just tried to register. The results should indicate why no products have been imported, possibly as a result of missing Product Name, Buy URL or Price values.

If there is an indication, re-register the feed and on Feed Registration Step 2 double check from the Sample Data shown below the form that the fields being mapped contain the actual values and are not empty - an occasional scenario that can occur with some XML structures is where the auto-detection has selected "PRICE" but the actual field is "PRICE/SALE"...

Cheers,
David.
--
PriceTapestry.com

Submitted by Perce2 on Mon, 2020-08-03 09:25

Hi David,

have already checked and done as you suggest several times but with no luck.
I'm pretty sure it has something to do with the merchant field. As mentioned, if I select any other of the available fields for merchant name dropdown the feed will register, but using a manual entry nothing.

You can try yourself if you wish here: {link saved}

Thanks

Submitted by support on Mon, 2020-08-03 10:20

Hi,

I'm not sure what's going on there i'm afraid, the feed worked fine on my test server (imported 12926 products), and I can see there are no filters configured that would be dropping all records. If it would be OK to check it out by FTP please email me access details and I'll look it into further with you...

Thanks,
David.
--
PriceTapestry.com

Submitted by Perce2 on Mon, 2020-08-03 11:00

Access details sent...

Submitted by Perce2 on Mon, 2020-08-03 12:31

All good now!
Thanks again David for your unrivalled support...

Graham