enable/disable a product form a url...

  • Posts: 151
  • Thank you received: 9
11 years 8 months ago #92774

Hi,

How can I enable and disable a certain product with a call to a url with some parameters?

Let's say the url I call is a php file in which I make a query to the DB, or is there an easier way?

Thank you,
Maurice

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #92880

Hi,

Your method seems to be good enough to do it, you'll just have to set the "product_published" column of your product to 0 or 1.

The following user(s) said Thank You: Maurice

Please Log in or Create an account to join the conversation.

  • Posts: 151
  • Thank you received: 9
11 years 8 months ago #92888

Hi Mohamed,

Thanks for your confirmation. I'll do that.

Kind regards,
Maurice

Please Log in or Create an account to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum