• Resolved ninjac4

    (@ninjac4)


    I need to create custom functions for the layout page, how can i use the class UPCP_Product in functions.php? (theme file)?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ninjac4

    (@ninjac4)

    And how can i get the current product “item_ID? (product page)

    Thread Starter ninjac4

    (@ninjac4)

    I also need to be able via page.php to check whether the user is in an category or vieving a product, i can’t use the standard woocommerce classes for this, any reference?

    Thanks

    Hi ninja,

    Unfortunately, we do not have any public/custom functions available for the product catalog. What you’re asking for is plugin customization, which is something that goes beyond the scope of our support.

    You can modify the layout of the product page using the built-in styling options (premium) or with custom CSS.

    If you are looking to add extra functionality to the plugin that goes beyond what is currently possible, that is not something we can help with. If you have any feature suggestions, we’d be glad to take note of them.

    Thread Starter ninjac4

    (@ninjac4)

    Thanks for the reply. I sorted it out by removing pretty permalinks and accessing the $_GET[‘SingleProduct’] which contains the ID ??

    • This reply was modified 5 years, 10 months ago by ninjac4.

    Hi @ninjac4,

    Thanks for letting us know!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘UPCP_Product Class’ is closed to new replies.