You are here:  » Price box not appearing


Price box not appearing

Submitted by bodybuildingcom... on Wed, 2017-08-30 19:28 in

Hello David,

Sorry for asking many questions in the last few days.

I seem to have noticed that, some of the products I have imported via the import function, seem to be missing the 'visit store'/price box. An example is: {link saved} It is fine in the proper pt installation {link saved}

If I put WordPress in virtual mode, it is fine as well. It seems that some of the price boxes seem to be missing in the 'imported' version.

Could you let me know what the problem could be?

Thanks.

Norbert

Submitted by support on Thu, 2017-08-31 06:53

Hello Norbert,

Since Price Tapestry 15/09A the full stop character was permitted in the normalised name however the normalise function in the plugin is removing it. To patch, edit pto_common.php and look for the following code at line 20:

  $text = preg_replace('/[^A-Za-z0-9'.$allow.' ]/','',$text);

...and REPLACE with:

  $text = preg_replace('/[^A-Za-z0-9'.$allow.' \.]/','',$text);

(corrected in beta 3 distribution)

Cheers,
David.
--
PriceTapestry.com

Submitted by bodybuildingcom... on Thu, 2017-08-31 19:44

Thank you David. It worked perfectly.

Thanks.

Norbert