[Vtigercrm-developers] Products not showing up in Quotes etc

Sukhdev Mohan s.mohan at myti.it
Tue May 25 06:15:43 GMT 2021


Not from the API, o you've to put it manually.
There too many inconsistent systems (like getCurrentUser() which doesn't
returns the logged user, because it's looking into vglobals and not in
$_SESSION)...

Il mar 25 mag 2021, 02:09 Rubén A. Estrada Orozco <rulotec1 at gmail.com> ha
scritto:

> Yes, that's indeed confusing. I guess it was left like that for historical
> reasons.
>
> However, the product should be active by default (at least in 7.3)
>
> Yes, I think you should use discontinued = 1 in the api too. I guess
> you could  also make a test without that and see what happens.
>
>
> Saludos
>
> Rubén
>
>
> On Mon, May 24, 2021 at 12:21 PM Sukhdev Mohan <s.mohan at myti.it> wrote:
>
>> I’m amazed by vtiger:
>>
>> vtiger_products.discontinued = 1
>>
>> means the product is active.
>>
>> Some questions:
>>
>>    - This is name scheme is very confusing. Discontinued doesn’t mean
>>    it’s active! Moreover discontinued = 1 means the product should be
>>    discativated...
>>    - Why isn’t the new product active by default?
>>    - Importing products from another system using api, do I have to put
>>    discontinued = 1 ?
>>
>> *If only there existed a damn documentation!*
>>
>> Best Regards,
>> *Sukhdev Mohan* | *Software Developer*
>> On 24 May 2021, 16:28 +0200, Sukhdev Mohan <s.mohan at myti.it>, wrote:
>>
>> After a bit of debugging I found that there is this condition
>> vtiger_products.discontinued = 1 while all the products in the inventory
>> are set to 0...
>>
>> What does this flag do? And how to have all the products set to 1?
>>
>> Best Regards,
>> *Sukhdev Mohan* | *Software Developer*
>> On 24 May 2021, 13:11 +0200, Martin Allen <martin.allen at exe-squared.co.uk>,
>> wrote:
>>
>> Would look to see if its adding some sort of search query automatically –
>> or as I have seen a couple of times found that it is showing page 2 of
>> results, when there is actually only 1 page to show (when searching prior a
>> different page had been selected, and the system remembers which page it
>> was previously!)
>>
>>
>>
>> *From:* vtigercrm-developers-bounces at lists.vtigercrm.com <
>> vtigercrm-developers-bounces at lists.vtigercrm.com> *On Behalf Of* Sukhdev
>> Mohan
>> *Sent:* 24 May 2021 10:53
>> *To:* vtigercrm-developers at lists.vtigercrm.com
>> *Subject:* [Vtigercrm-developers] Products not showing up in Quotes etc
>>
>>
>>
>> Hi all,
>>
>> I’m facing a very annoying situation: I’ve products registered but when I
>> try to access them from quotes the pop up says no product to display.
>> Weirdly enough If I type a product’s name in the search bar in Quotes, the
>> crm displays results. Or at least it was now it doesn’t...
>>
>> Any help what Might be the issue? I’m on a 7.2 version, it’s upgraded
>> from previous versions
>> _______________________________________________
>> http://www.vtiger.com/
>>
>> _______________________________________________
>> http://www.vtiger.com/
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20210525/2cea2f03/attachment.html>


More information about the vtigercrm-developers mailing list