AbanteCart Development > Customization help

Need product_id with SEOURL turned on so no Query

(1/1)

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


--- Code: ---$this->request->get['product_id'];
--- End code ---

soapingsupply:
Thanks!

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



Have fun!

Navigation

[0] Message Index

Go to full version
Powered by SMFPacks Social Login Mod