- Support
- Forums
- Extension Forums
- General Mavrosxristoforos.com Forum
- VM Scheduled Discounts : Product selection do not work
VM Scheduled Discounts : Product selection do not work
- Greg
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
4 years 1 week ago #1
by Greg
This message has an attachment image.
VM Scheduled Discounts : Product selection do not work was created by Greg
Hello,
Thanks for this extension (that should be part of VM since long time ago, so it's good for you)
I'm with :
If you need more informations just ask
Best Regards
Thanks for this extension (that should be part of VM since long time ago, so it's good for you)
I'm with :
- Joomla 3.9.24
- VM 3.8.6 + Template VP Merchant
- PHP 7.4.13
- Dropdown selector do not work, products are not retrieved (see attached)
- I've tested by category, but I can try with all the possible options, it has no effect on the price whether in the category in question or on the page of one of the products of this category
If you need more informations just ask
Best Regards
This message has an attachment image.
Please log in or register to see it.
Please Log in or Create an account to join the conversation.
- Greg
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
4 years 1 week ago #2
by Greg
This message has an attachment image.
Replied by Greg on topic VM Scheduled Discounts : Product selection do not work
I think I have a clue.
It seems that the component is trying to retrieve the products as well as the category names but from the _virtuemart_categories_en_gb table.
Except my shop is by default in French so it should look in the table _virtuemart_categories_fr_fr.
Those that you see in capture are the old demo categories that i do not use at all and only in the _virtuemart_categories_en_gb table.
thanks again in advance
It seems that the component is trying to retrieve the products as well as the category names but from the _virtuemart_categories_en_gb table.
Except my shop is by default in French so it should look in the table _virtuemart_categories_fr_fr.
Those that you see in capture are the old demo categories that i do not use at all and only in the _virtuemart_categories_en_gb table.
thanks again in advance
This message has an attachment image.
Please log in or register to see it.
Please Log in or Create an account to join the conversation.
- Christopher Mavros
- Offline
- Administrator
4 years 1 week ago - 4 years 1 week ago #3
by Christopher Mavros
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Replied by Christopher Mavros on topic VM Scheduled Discounts : Product selection do not work
Hello Greg and thank you very much for your purchase and for posting here on our forum. Welcome!
What you are describing is true for sites that have a single non English language on the front end, but they still use English in the backend. If you log in selecting French for the back end instead of English, you should be able to see the product names.
Normally, if your site was bilingual, you would want to see product names in the corresponding language in the back-end. (If you log in in English, you should see English product names. If you log in in French, you should see French product names)
So, this is somewhat confusing for the software. Any suggestions are more than welcome to resolve this.
Thanks again.
What you are describing is true for sites that have a single non English language on the front end, but they still use English in the backend. If you log in selecting French for the back end instead of English, you should be able to see the product names.
Normally, if your site was bilingual, you would want to see product names in the corresponding language in the back-end. (If you log in in English, you should see English product names. If you log in in French, you should see French product names)
So, this is somewhat confusing for the software. Any suggestions are more than welcome to resolve this.
Thanks again.
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Last edit: 4 years 1 week ago by Christopher Mavros.
Please Log in or Create an account to join the conversation.
- Greg
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
4 years 1 week ago #4
by Greg
This message has attachments images.
Replied by Greg on topic VM Scheduled Discounts : Product selection do not work
Hi thanks for reply!
Now it's ok since I've added the translations on english side for products (the reason why the list where full of null)
I will do other tests for this part.
This apart I've managed to make discount works ok both on product and a whole category.
But when I set a discount like this:
it's added and not subtracted
But with Price to overwrite: Final Price
result is final price 60.44 with tax but discount still added and not subtracted
In both case it should be 50.44
Or did I miss something
This apart I will translate all your component in French ASAP
Best regards
Now it's ok since I've added the translations on english side for products (the reason why the list where full of null)
I will do other tests for this part.
This apart I've managed to make discount works ok both on product and a whole category.
But when I set a discount like this:
- My price is: 55.44 without tax
- Discount type: Relative price
- Discount: 5
- Price to overwrite: Before Tax
it's added and not subtracted
But with Price to overwrite: Final Price
result is final price 60.44 with tax but discount still added and not subtracted
In both case it should be 50.44
Or did I miss something
This apart I will translate all your component in French ASAP
Best regards
This message has attachments images.
Please log in or register to see it.
Please Log in or Create an account to join the conversation.
- Christopher Mavros
- Offline
- Administrator
4 years 1 week ago #5
by Christopher Mavros
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Replied by Christopher Mavros on topic VM Scheduled Discounts : Product selection do not work
Hi again Greg!
I'm glad you worked out the product selection.
Normally, we should move this to a new topic, since I am now replying to your second question, but that's ok.
The simple answer to your question is that you have to write -5 instead of 5! Then it will subtract instead of adding to the total amount
I know that no one will ever set a positive amount discount, but I had to implement it correctly and allow it to accept positive numbers (and treat them as positive).
So, that's simple I believe.
As for the French translation, if you wish to share it, I would be happy to include it in the package. If you do want to share, please send it to me at mavrosxristoforos@gmail.com.
Thanks again!!
I'm glad you worked out the product selection.
Normally, we should move this to a new topic, since I am now replying to your second question, but that's ok.
The simple answer to your question is that you have to write -5 instead of 5! Then it will subtract instead of adding to the total amount
I know that no one will ever set a positive amount discount, but I had to implement it correctly and allow it to accept positive numbers (and treat them as positive).
So, that's simple I believe.
As for the French translation, if you wish to share it, I would be happy to include it in the package. If you do want to share, please send it to me at mavrosxristoforos@gmail.com.
Thanks again!!
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
The following user(s) said Thank You: Greg
Please Log in or Create an account to join the conversation.
- Greg
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
4 years 1 week ago #6
by Greg
Replied by Greg on topic VM Scheduled Discounts : Product selection do not work
I didn't even test with the negative sign because it seemed so obvious to me ...
so a little warning in tooltip or in the form of a warning notice would be welcome
Thanks a lot
so a little warning in tooltip or in the form of a warning notice would be welcome
Thanks a lot
Please Log in or Create an account to join the conversation.
Moderators: Christopher Mavros
- Home
- Support
- Forums
- Extension Forums
- General Mavrosxristoforos.com Forum
- VM Scheduled Discounts : Product selection do not work