Skip to main content

Changes made to products in HikaMarket won't save

More
11 years 7 months ago #188600 by a2zcs
-- url of the page with the problem -- : northeastcoffeeco.com
-- HikaShop version -- : 2.3.5
-- HikaMarket version -- : 1.5.1
-- Joomla version -- : 3.3.6
-- PHP version -- : 2.3.28
-- Browser(s) name and version -- : Firefox 35.0.1
-- Error-message(debug-mod must be tuned on) -- : No error message.

Just updated to hikashop 2.3.5 and hikmarket 1.5.1 and now changes to the products through hikamarket won't save. They will save through the administration directly in hikashop

Also invoices are printing on two pages wether they need to or not.

Please help.

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

More
11 years 7 months ago #188602 by Jerome
Hi,

Can you please try to activate temporally the Joomla debug mode in order to know if there is a SQL error ?
When you click on "save" or "apply", do you have a message displayed telling you that the product was save, or that an error as occurred, or no message at all ?

About the invoices ; there was an issue in HikaMarket, the invoices wasn't display using the "component" page of the template.
So I think that your issue is coming from that ; now that the "component" page is used and the CSS of the template (and the extensions) are loaded.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

More
11 years 7 months ago #188642 by a2zcs
Hi Jerome,
Thanks for getting back to me. with debug on, there is no message saying the product was saved and no error message is displayed. It just goes back to the listing of products with the change not being saved.

I'm sorry I don't understand what i need to do for the extra blank page being printed.
thanks!

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

More
11 years 7 months ago #188704 by Jerome
Hi,

Does your template is compatible with the Joomla messaging system ?
www.hikashop.com/support/support/documen...issues.html#messages

Would it be possible to have an access to your website to see the problem directly ?

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

More
11 years 7 months ago #188732 by a2zcs
how do you want the login information

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

More
11 years 7 months ago #188740 by Jerome
Hi,

For such private information you can send me a private message.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

More
11 years 7 months ago #188846 by Jerome
Hi,

Thanks for the access.
I have to admit that I don't understand the issue you got ; which looks like coming from an external plugin or maybe the template.

Here some code from the HikaMarket view "productmarket | form".
Code:
<?php if(hikamarket::acl('product_edit_variants')) { ?> </div> <div id="hikamarket_product_edition_tab_2" style="display:none;"> <div id="hikamarket_product_variant_list"><?php echo $this->loadTemplate('variants'); ?></div> <div id="hikamarket_product_variant_edition"> </div> </div> <?php } ?> <?php if(!empty($this->product->product_type) && $this->product->product_type == 'variant' && !empty($this->product->product_parent_id)) { ?> <input type="hidden" name="data[product][product_type]" value="<?php echo $this->product->product_type; ?>"/> <input type="hidden" name="data[product][product_parent_id]" value="<?php echo (int)$this->product->product_parent_id; ?>"/> <?php } ?> <input type="hidden" name="cancel_action" value="<?php echo @$this->cancel_action; ?>"/> <input type="hidden" name="cancel_url" value="<?php echo @$this->cancel_url; ?>"/> <input type="hidden" name="cid[]" value="<?php echo @$this->product->product_id; ?>"/> <input type="hidden" name="option" value="<?php echo HIKAMARKET_COMPONENT; ?>"/> <input type="hidden" name="task" value=""/> <input type="hidden" name="ctrl" value="product"/> <?php echo JHTML::_('form.token'); ?> </form>
In this code, we display the view "form_variants" ; which display the content of the second tab.
At the end of the code, we see that there are the hidden fields.

The result in your website is more than unusual ; instead of displaying the hidden field "ctrl" ; the HTML is broken and the content of the view "form_variants" is re-display into.
We can see that some code has been added by something "else" ; we can see the class "art-button" set on the incorrect added HTML.
There is no such class on the button in the original view.

I put two screenshots ; one from your website (invalid) and another from my local website (as you can have the same result in our demo website).

My conclusion is that, the plugin or element which add the "art-button" class is generating errors in the code ; maybe a wrong regular expression which result of a duplication of a part of the code...

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

More
11 years 7 months ago #188856 by a2zcs
How is the best way then to downgrade to the previous versions of hikashop and hikamarket. As everything was fine before I upgraded.

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

More
11 years 7 months ago #188911 by Jerome
Hi,

Well, you can comment the load of the variant edition view.
In the view "productmarket | view", put this line in commentary
Code:
<div id="hikamarket_product_variant_list"><?php // echo $this->loadTemplate('variants'); ?></div>
And it remove the content that the plugin does not parse.
The side effect is that you won't be able to edit variants ; you will loose the big feature of HikaMarket 1.5

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

More
11 years 7 months ago #188988 by a2zcs
Sorry for being a bit slow, but I see no view named productmarket | view. I see edit_translation, file, form, form_characteristic, form_file, form_file_entry, form_mage, form_image_entry, form_price, form_varants, form_variants_add, galleryimage, image, listing, selection, useslection and variant

Am I looking in the wrong place?

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

More
11 years 7 months ago #188991 by Jerome
Hi,

My bad ; I misspel it. It is the view "productmarket | form" ; like I wrote in a previous post.
The other solution, easier than editing a view, is to remove the ACL related to the variant edition (in the HikaMarket configuration for default accesses).

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

More
11 years 7 months ago #188995 by a2zcs
Ok, got it. Thanks. I'm going to reword what you told me so that others who may be having the same problem can find it easier and to verify I did it correctly.

In the Hikamarket configuration, I went to Access Level - Product - Edit and removed the check on Variants.

How about the printing on two pages issue?

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

More
11 years 7 months ago #189006 by Jerome
Hi,

Like I wrote in my first message:

About the invoices ; there was an issue in HikaMarket, the invoices wasn't display using the "component" page of the template.
So I think that your issue is coming from that ; now that the "component" page is used and the CSS of the template (and the extensions) are loaded.

The issue is link to the CSS of your template ; and more precisely to the "print.css" file for your template.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

More
11 years 7 months ago #189300 by a2zcs
I've looked through the print.css and there is nothing there that I can see that is causing the issue. where else could it be?

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

More
11 years 7 months ago #189305 by Jerome
Hi,

I didn't write that I think that the problem was in the "print.css" ; I write that the problem was in that file.
Because when I open the invoice in a new tab ; I preview a print and I got two pages ; then I edit the print.css file in order to remove the rule
Code:
html, body { height: 100%; }
and then do print, I got only one single page.

So yes, I'm pretty sure that the issue is coming from the print.css file.
And I also explain before what was the cause and that the issue is not related to HikaMarket.

Thanks for your understanding.

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.374 seconds
Powered by Kunena Forum