support

Need product_id with SEOURL turned on so no Query

Started by soapingsupply, March 05, 2018, 11:33:32 PM

Previous topic - Next topic

soapingsupply

ok I'm modifying head.tpl so I don't have access to anything in product yet.

The wife turned on seourl -SOOOO  I cannot get the product_id from the query anymore.

I'm sure its easy but I need another set of eyes on this.
I cannot find anything to use in get_defined_vars or $_SERVER

Do you need to hit the database url_aliases? or is there an easier way of getting the product_id

$product_id = <cool php code that has alluded me>;

abolabo

try to get it via

$this->request->get['product_id'];
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

soapingsupply

Thanks!

I swear I tried that before but it worked.  So I'm not going to think about it too much.



Have fun!

Forum Rules Code of conduct
AbanteCart.com 2010 -