This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

unique page id's question
#1

I apologize if this has been covered but after a quick search I couldn't find anything.

I have a product page which is dynamic so I can only put it in on one page on my script, is it possible to change the code so commentics generates a unique page id / name for each page that loads?
Reply
#2

Does each product have its own parameter like:

page.php?id=1
page.php?id=2

Have you completed the interview?
Reply
#3

no they are like this: site.com/category/product/
Reply
#4

Okay, what about the HTML title tag?

How does the product page know which product to load?

Have you completed the interview?
Reply
#5

yes I have title tags,

Actually I meant the url's are site.com/gym-equipment/york-dumbells/ not category/product, sorry.
Reply
#6

Try the Many Pages feature.

Maybe:
PHP Code:
<?php 
$cmtx_page_id
= "cmtx_url";
$cmtx_reference = "cmtx_title";

Have you completed the interview?
Reply
#7

almost go it Smile, as far as I can see everything is working fine apart from the page reference which says 500 internal server error on both comments I've tested.
Reply
#8

It can be difficult to get that to work on some servers.

I'm not sure what else you could dynamically supply the $cmtx_reference variable with.

Have you completed the interview?
Reply
#9

What ecommerce script are you using?

Have you completed the interview?
Reply
#10

I'm using wordpress.

The comments are posting fine but I take it the page reference is important and needs to be working?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by ruslan58
20-Sep-2016, 06:28 AM
Last Post by DuO-VB
21-Mar-2014, 04:26 PM
Last Post by Steven
01-Feb-2013, 03:48 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)