-
AuthorPosts
-
Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 4, 2013 at 8:03 am #514278Hi Mark,
Sorry for the long discussion, I have received info your site forwarded from Leo and I will help you on this case.
With the current issue: VM Custom Field with Variant Stock Control, I searched from VM Forum and found so many threads discussing the same problem on VM Custom Field with Variant Stock Control. I’m not sure about how you configure in your site, I need to have a closer look, please PM me admin login info of your site as I tried to login with info Leo sent me but it’s invalid
If there are any other issues, please details them here, I will try my best to check for you.
Look forward to hearing from you.
Regards
marklimonbay Friendmarklimonbay
- Join date:
- October 2013
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 7
- Thanked:
- 3 times in 4 posts
December 4, 2013 at 9:22 am #514289Hi Ninja,
According to VM forums both issues are solved. When I tryed using the VM stockable.php solution file Hawkstore template stopped showing properly as you can check if you try. If I use joomla default template it does work so it has to be something with the template.
I have downgraded to the 1.0.0 template version as I was told to improve the situation but it seems it didn’t work.
I have already sent you my account details in a PM.
Thanks
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 6, 2013 at 7:06 am #514516Apologies for this late response because I spent a lot my time to check the problem on your site with /plugins/vmcustom/stockable/stockable.php and /templates/ja_hawkstore/js/javmprices.js files.
+ The duplicate problem in shopping cart when product items have custom fields. I have checked from database of VM and this is result:
<blockquote>a product item -> have related to: n attribute custom field </blockquote>
when you click “add to cart” button, it will add a item into shopping cart and that’s reason why it’s different with original shopping cart without custom filed(stockable)
+ The problem on shopping cart was missing product name, maybe you have been changed something from VM core and behaviour. Joomlart never override core of any 3rd party(this is not problem on JA Hawkstore Template vs VM component). We wont be of much help on this case as its beyond our support scope but I have forward the problem from your site to developer to check it. Please give me time it. We will try to help you to fix the problem on product name
1 user says Thank You to Ninja Lead for this useful post
marklimonbay Friendmarklimonbay
- Join date:
- October 2013
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 7
- Thanked:
- 3 times in 4 posts
December 7, 2013 at 12:35 am #514623Hallo Ninja,
I didn’t touch VM files. But you did:
Leo wrote:
<blockquote>Thank you for your patience in waiting our developer (MoonSailor) to fix the Stockable Variant issue on your website. Here are the detailed steps he edited the pluginsvmcustomstockablestockable.php file:
</blockquote>
1. At 290th line, replace:Code:
$html .='<div style="width:200px;"><span style="vertical-align: top;width:98px; display: inline-block;color:#000;">'.JTEXT::_($listname).'</span>';with
Code:
$html .='<div style="float:left; margin-right:15px;"><div style="width:auto; float:left; margin-right:4px;margin-top:4px;"><span style="vertical-align: middle; display: inline-block;">'.JTEXT::_($listname).'</span></div>';
2. At 403-404th line, replace:
Code:
$(".addtocart-bar").append('<span class="quantity-box"><input type="text" class="quantity-input js-recalculate" name="quantity[]" value="' + quantity + '" /></span><span class="quantity-controls js-recalculate"><input type="button" class="quantity-controls quantity-plus" /><input type="button" class="quantity-controls quantity-minus" /></span><span class="addtocart-button"><input type="submit" name="addtocart" class="addtocart-button" value="'.JText::_('COM_VIRTUEMART_CART_ADD_TO').'" title="'.JText::_('COM_VIRTUEMART_CART_ADD_TO').'" /></span><div class="clear"></div>');
Virtuemart.product($("form.product"));with
Code:
//$(".addtocart-bar").append('<span class="quantity-box"><input type="text" class="quantity-input js-recalculate" name="quantity[]" value="' + quantity + '" /></span><span class="quantity-controls js-recalculate"><input type="button" class="quantity-controls quantity-plus" /><input type="button" class="quantity-controls quantity-minus" /></span><span class="addtocart-button"><input type="submit" name="addtocart" class="addtocart-button" value="'.JText::_('COM_VIRTUEMART_CART_ADD_TO').'" title="'.JText::_('COM_VIRTUEMART_CART_ADD_TO').'" /></span><div class="clear"></div>');
$(".addtocart-bar").append('<span class="quantity-box"><input type="text" class="quantity-input js-recalculate" name="quantity[]" value="' + quantity + '" /></span><span class="quantity-controls js-recalculate"><input type="button" class="quantity-controls quantity-plus" /><input type="button" class="quantity-controls quantity-minus" /></span><span class="addtocart-button"><input type="submit" name="addtocart" class="ja-addtocart-button" value="'.JText::_('COM_VIRTUEMART_CART_ADD_TO').'" title="'.JText::_('COM_VIRTUEMART_CART_ADD_TO').'" /></span><div class="clear"></div>');
//Virtuemart.product($("form.product"));
javmaddcart();
3. At 416th line, replace:Code:
formProduct = Opt.parents("form.product");with
Code:
formProduct = Opt.parents("form.ja-vm-product");
You can see in that folder the original stockable.php file named as something like: stockable.php-2.0.14
You can check all the changes in this same thread of the forum.
Thanks.Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 9, 2013 at 7:55 am #514751<em>@Ninja Lead 400799 wrote:</em><blockquote>
+ The problem on shopping cart was missing product name, maybe you have been changed something from VM core and behaviour. Joomlart never override core of any 3rd party(this is not problem on JA Hawkstore Template vs VM component). We wont be of much help on this case as its beyond our support scope but I have forward the problem from your site to developer to check it. Please give me time it. We will try to help you to fix the problem on product name</blockquote>About the problem on product name is duplicated on your site, it is data input from back-end site.
+ Product Item: Ball closure Ring with 5mm ball
+ Link URL of your site http://testlimonbay.esgenial.org/index.php/en/shop/piercing-by-body-type/ball-closure-ring/ball-closure-ring-with-5mm-ball-detail
+ Screenshot of Front-End+ Screenshot of Back-end
With this problem, you need to change Product Children Name from Back-end site.
I still remain the same on stockable.php and javmprices.js files
-
marklimonbay Friend
marklimonbay
- Join date:
- October 2013
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 7
- Thanked:
- 3 times in 4 posts
December 9, 2013 at 5:49 pm #514836Hallo Ninja,
I have just changed the names in English for that product and it still does not work. I attach files.
and
I appreciate you are working on it. Thank you very much.
-
Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 10, 2013 at 10:21 am #514942@marklimonbay: Like as my explain on this replied here, VM Custom Field with Variant Stock Control is working with a product item -> have related to: n attribute custom field if you click add to cart button it will add a new item and not for groups of similar products that’s reason why you can see many items add into shopping cart
I have changed to rename all customize about css style of JA Hawkstore template on your site and test it but I got the same result.
If you’re thinking this is the problem from css customize of JA Hawkstore template, you can rename com_virtuemart, mod_javmproducts, mod_virtuemart_cart, mod_virtuemart_currencies, mod_virtuemart_product folders on this path: /templates/ja_hawkstore/html and work without customize css style of JA Hawkstore template.
If you want to customize to groups of similar item products in shopping cart you should raise this request to VM forum , you might get best answer from there
marklimonbay Friendmarklimonbay
- Join date:
- October 2013
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 7
- Thanked:
- 3 times in 4 posts
December 10, 2013 at 7:40 pm #514997Hallo Ninja Lead,
I’m not an expert in php, but I understand that you tried changing css without success.
Then I go back to my original question:
Is it any way to make Hawkstore work properly with VM Custom Field with Variant Stock Control ? Yes or No?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 11, 2013 at 8:02 am #515065<em>@marklimonbay 401422 wrote:</em><blockquote>Is it any way to make Hawkstore work properly with VM Custom Field with Variant Stock Control ? Yes or No?</blockquote>
I can say YES because our templates don’t touch core function of 3rd party extensions (VirtueMart). We only change view layout due to the concept of each template, here is JA Hawkstore.
I found at VirtueMart forum a tip about How to use Custom Field stockable variant. Hope it helps you
marklimonbay Friendmarklimonbay
- Join date:
- October 2013
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 7
- Thanked:
- 3 times in 4 posts
December 11, 2013 at 5:51 pm #515128Hallo Ninja Lead,
<blockquote>
I can say YES because our templates don’t touch core function of 3rd party extensions (VirtueMart).</blockquote>Could you create a working example of a product with stockable custom variants in your online demo template?
I have not touched VM core so I do think is a problem with the template. But It would be nice if you can prove me wrong, so I can work from a different angle.
Thanks
marklimonbay Friendmarklimonbay
- Join date:
- October 2013
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 7
- Thanked:
- 3 times in 4 posts
December 12, 2013 at 10:29 pm #515282I guess your silence mean that you are having trouble with this.
Please let me know so I know what to do. I’am dealing with this issue since October. Thanks in advance for your understanding.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 13, 2013 at 5:42 am #515321Our demo is supported standard product and I won’t able to touch on our demo and I have no idea with the problem on your site.
I’m so sorry but this is not bug from our problem. I tried to help you but it’s regarding 3rd party(VM and stockable custom variants), you should find the solution from VM forum.
marklimonbay Friendmarklimonbay
- Join date:
- October 2013
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 7
- Thanked:
- 3 times in 4 posts
December 16, 2013 at 9:03 pm #515634I have just made a brand new installation. Out of the box.
I have changed template as indicated by Leo to version 1.0.0 to work with stockable variants.
In this Brand New installation Everything work fine if I use the Joomla standard template. Nothing works if I use your template.
As you can see. I create just 1 product as stockable variants:
The number of products cannot be changed and stays in 1.
If you press “Add to cart” button it does not shows anything in the cart:
When I change to Joomla default template variants show up OK, quantities can be changed, and they show fine in the cart.
Also, if I want to add more products than the actual stock, it reacts ok:
“maximum quantity reached”
– It happens the same with Generic Child Variants
When I use Hawkstore, The parent is orderable even though in the backend is set to “parent NOT orderable”:If I change to Joomla default template the parent works OK and ask me “Choose a product Variant” which is correct,
So please, try it yourself. This is a brand new installation, nothing has been touched at all, only 2 products: 1 to test stockable variants, and other to test generic child variant.
In Hawkstore dont work
In Joomla template everything works.If you are not able or willing to fix it, I will kindly ask for a refund, since the product is faulty and don’t work as it is sold.
Thank you.
- MoonSailor Friend
MoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
December 17, 2013 at 3:03 am #515662Hi marklimonbay,
There are 3 main issues of your Hawkstore template, we would like to answer you in detail again:
1. Stockable variants (Plugins custom field type)
It’s default stockable variants and custom field with Virtuemart component are not bug.
We have tested them: Joomla refresh 2.5.16(without JA Hawkstore template) , VM 2.0.26, custom field and stockable variants. This is the screenshot I got it
With 2 attribute – ( red + green ) when add to cart – it’s showing same in your site
With the maximum quantity reached notification message, we need to confirm that this message popup is hidden on the override layout of VM AddToCart on our Hawkstore template.
As you know, this notification message will appear inside the fancy popup view of default VM Add to cart. While on the Hawkstore template, we do use the flying effect for the Add to cart so that the message will not appear as usual.
However, I want to confirm that the feature still works correctly about 80% on our Hawkstore template. You can see that the Virtuemart cart module on the left will not plus the same purchased item when it reach the Maximum Purchase Quantity value that is set inside the product backend setting.
2. Genetic child variant with parent product orderable.
We did not see your screenshot of product page using the Genetic child variant type when testing on Joomla default template. However, there is a misunderstanding on using this VM custom field type with 2 options that i want to explain more clearly:
– Display parent as option: Ths VM option allows the parent product to be selected from the list, but can not be ordered. Means the parent product can display in the selection list.
– Parent orderable : Like the meaning of the option title, it allows the parent product orderable.>> There are 2 configuration we argued in previous replies:
– Our suggested config:
Uncheck both Display parent as option and Parent orderable. It worked on both our Hawkstore template and Joomla default template ( Beez2 – Parks Site).The result on our template:
and on Joomla template:
– Your config:
Check Display parent as option and uncheck Parent orderableThis config will still lead the parent product to display in the seclection list, even i tried on the Joomla default template.
So, the question is why you did not try to use our suggested method to get the issue solved, instead of still confirming this is a template error ?
- marklimonbay Friend
marklimonbay
- Join date:
- October 2013
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 7
- Thanked:
- 3 times in 4 posts
December 17, 2013 at 11:56 am #515725Hallo Moonsailor, thanks for your effort in such an extensive answer.
Point 1:
We agree that if we use joomla template everything works ok.
If we use Hawkstore:– You can only order 1 unit. Have you tried to order 2? it’s not possible as + button don’t work. The css shows badly.
Point 2:
<blockquote>
So, the question is why you did not try to use our suggested method to get the issue solved, instead of still confirming this is a template error ? </blockquote>Because your method don’t work.
As we discussed twice before, if I use your suggested solution, when I press Add to Cart, what I got in the cart is not the first child, but the Parent!! You can check it for yourself. In your example you won’t have “element X” in your cart, but the parent!
So your suggested solution don’t work unless the customer goes to “Element Y”, then back to “Element X” and just then, he can get in the cart the right product.
I hope you can solve it, if not, please just let me know so I can go elsewhere. This is work for me, not a hobby, so by now I have some urgency. I’m sure you understand.
-
AuthorPosts
This topic contains 74 replies, has 13 voices, and was last updated by Ninja Lead 10 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum