[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
foodclub.org • View topic - Request: Disabled Products / Copy database into private

Request: Disabled Products / Copy database into private

General tech support questions and answers, for technical questions about the Foodclub system. Useful resource for new users to Foodclub, both to search for answered questions and ask new ones of experienced users.

Request: Disabled Products / Copy database into private

Postby christiancoop » Tue Feb 19, 2013 1:29 pm

For some vendors there are certain products that just always cause us trouble. They arrive damaged, spoiled, etc. Contacting the vendor doesn't really help. What we would really like to do is mark them as "disabled".

:idea: So maybe a new boolean field in the item database called disabled? If set to 1 then the item just wouldn't show up in that account even though it is in the db. Everytime the catalog is updated automatically the disabled flag should remain.

Would any other users make use of such a flag?
christiancoop
 
Posts: 107
Joined: Wed Oct 24, 2012 12:17 pm

Re: New Feature Request: Disabled Products

Postby support » Tue Feb 19, 2013 4:43 pm

Essentially, disabling products is already supported, but the caveat is that you need to be maintaining your own database (via phpmyadmin) to do it. Here is a support topic which discusses it: (items can be disabled just from Order, Splits, or both)

http://foodclub.org/phpbb/viewtopic.php?f=774&t=2018

So really what you need is to be able to modify the official database to suit your individual club's needs. This is now being supported informally by doing a back-end copy of a newly imported official database into your own private database. E-mail if you want this to happen, and say which databases/sources.

In the near future (especially if more clubs request this), there will be a formal feature for you to "subscribe" to an official database rather than use it directly. By "subscribing" it will either 1) clear out your private and import the new official whenever a new one becomes available, or 2) notify you that a new official is available, and allow you to copy it into your private when you are ready.

Either way, you would then need to go and set the valid_order_increment / valid_split_increment back to 0 to disable the item. Perhaps in a future revision, the subscribe copy could leave those fields (and other item metadata) without overwriting them.
support
 
Posts: 566
Joined: Sun Mar 11, 2012 9:06 am

Re: New Feature Request: Disabled Products

Postby christiancoop » Wed Feb 20, 2013 11:51 am

Great answer as usual!
christiancoop
 
Posts: 107
Joined: Wed Oct 24, 2012 12:17 pm

Re: New Feature Request: Disabled Products

Postby support » Sat Feb 15, 2014 10:33 pm

support
 
Posts: 566
Joined: Sun Mar 11, 2012 9:06 am

Re: Request: Disabled Products / Copy database into private

Postby christiancoop » Sun Feb 16, 2014 12:20 pm

"Either way, you would then need to go and set the valid_order_increment / valid_split_increment back to 0 to disable the item. Perhaps in a future revision, the subscribe copy could leave those fields (and other item metadata) without overwriting them."
--Was this enhancement done too?
christiancoop
 
Posts: 107
Joined: Wed Oct 24, 2012 12:17 pm

Re: Request: Disabled Products / Copy database into private

Postby support » Sun Feb 16, 2014 12:33 pm

No, not yet. The "copy into private" feature currently simply clears the entire private table before copying.
support
 
Posts: 566
Joined: Sun Mar 11, 2012 9:06 am


Return to Support

Who is online

Users browsing this forum: No registered users and 16 guests

cron