You are here:  » Related products not showing (Wordpress embedded)


Related products not showing (Wordpress embedded)

Submitted by michaelpblythe on Tue, 2011-12-20 11:39 in

I've successfully installed PT with Wordpress and so far so good.

Within my original PT install i've set Show related products =TRUE and it works fine but, they dont display within Wordpress. I only appear to get the original product.

Any thoughts? Do i need to use a short-code similar to [pto related="Product Name"] ? If so how would i pass through the Product Name dynamically based on the selected product?

Great work David,

Regards,

Michael

Submitted by support on Tue, 2011-12-20 13:06

Hi Michael,

The setting needs to be separately enabled within the plugin - go to wp-admin > Settings > PriceTapestry.org and then scroll down to the External settings where you will be able to set $config_useRelated = TRUE; - that should be all it is...

Cheers,
David.
--
PriceTapestry.com

Submitted by michaelpblythe on Tue, 2011-12-20 13:58

Worked a treat - thank you,

Regards,

Michael

Submitted by bodybuildingcom... on Sun, 2017-08-27 10:26

Hi David,

I am wondering if the related product configuration works when I set the 'Product Pages' to imported?
It works of course, when I set it to virtual, but it doesn't seem to work when I set it to imported pages.

Is there any way I could get this to work for imported pages automatically?

Thanks.

Norbert

Submitted by support on Sun, 2017-08-27 10:40

Hello Norbert,

There was a global declaration missing, to patch edit pto_common.php and look for the following code at line 257:

  global $pto_product;

...and REPLACE with:

  global $pto_config_useRelated;
  global $pto_product;

(corrected in Beta 3.0 distribution)

Cheers,
David.
--
PriceTapestry.com

Submitted by bodybuildingcom... on Tue, 2017-08-29 20:20

Thank you David.

It works like a charm.

Norbert