Vendor Page
10 years 1 month ago #246503
by m.fontana
Vendor Page was created by m.fontana
-- url of the page with the problem -- :
apicestore.com/profilo-venditore/vendor/...-del-cioccolato.html
-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.1
Hi,
on this page apicestore.com/profilo-venditore/vendor/...-del-cioccolato.html I've problem with:
- "Contact this vendor" button: nothing happened, the contact form doesn't appeared,
- and with bootstrap tabs: when I click on second tabs the first go hidden.
The template developer can't help me, how can I do for solve this?
Thanks
Matteo
-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.1
Hi,
on this page apicestore.com/profilo-venditore/vendor/...-del-cioccolato.html I've problem with:
- "Contact this vendor" button: nothing happened, the contact form doesn't appeared,
- and with bootstrap tabs: when I click on second tabs the first go hidden.
The template developer can't help me, how can I do for solve this?
Thanks
Matteo
Please Log in or Create an account to join the conversation.
10 years 1 month ago #246518
by Jerome
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.
Replied by Jerome on topic Vendor Page
Hi,
Please use the "vex" popup mode instead of the bootstrap one.
You currently see nothing because you're template is not fully compatible and you have some javascript issues when the popup is being displayed
The tabs are not provided by the HikaMarket vendor page but it should come from one customization or by your template.
We cannot provide support on that because we do not implement it.
Regards,
Please use the "vex" popup mode instead of the bootstrap one.
You currently see nothing because you're template is not fully compatible and you have some javascript issues when the popup is being displayed
Code:
page.js:5 Uncaught TypeError: jQuery(...).prettyPhoto is not a function
The tabs are not provided by the HikaMarket vendor page but it should come from one customization or by your template.
We cannot provide support on that because we do not implement it.
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.
The following user(s) said Thank You: m.fontana
Please Log in or Create an account to join the conversation.
10 years 4 weeks ago #248639
by m.fontana
Replied by m.fontana on topic Vendor Page
Hi,
sorry for delay; I did what you told me and this solve every problems
Thanks
Matteo Fontana
sorry for delay; I did what you told me and this solve every problems
Thanks
Matteo Fontana
Please Log in or Create an account to join the conversation.
10 years 3 weeks ago - 10 years 3 weeks ago #248723
by m.fontana
Replied by m.fontana on topic Vendor Page
Hi,
another question; I would like to modify the address of vendor, on showcontainer_default.php I found that code:
How can I modify the code to individually call up the various parts of the address?
Thanks
Matteo Fontana
another question; I would like to modify the address of vendor, on showcontainer_default.php I found that code:
Code:
foreach($this->extraFields['vendor'] as $fieldName => $oneExtraField) {
//...
How can I modify the code to individually call up the various parts of the address?
Thanks
Matteo Fontana
Last edit: 10 years 3 weeks ago by Jerome. Reason: removing code
Please Log in or Create an account to join the conversation.
10 years 3 weeks ago #248731
by Jerome
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.
Replied by Jerome on topic Vendor Page
Hi,
1 - Edit your vendor custom field to choose what field you want to display in the vendor page or not.
2 - Skip the fields you do not want to display in the table
3 - Display directly the fields you want to display in the HTML code you want to display.
Regards,
1 - Edit your vendor custom field to choose what field you want to display in the vendor page or not.
2 - Skip the fields you do not want to display in the table
Code:
foreach($this->extraFields['vendor'] as $fieldName => $oneExtraField) {
if(in_array($fieldName, array('my_field'))
continue;
3 - Display directly the fields you want to display in the HTML code you want to display.
Code:
echo $this->fieldsClass->show($this->extraFields['vendor']['my_field'], $this->vendor->my_field);
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.
10 years 3 weeks ago #248852
by m.fontana
Replied by m.fontana on topic Vendor Page
Hi,
I try to modify the code like this
But the result is like the attachment
Whay's wrong?
Thanks
I try to modify the code like this
Code:
div class="hikamarket_vendor_fields col-md-9">
<?php
if(!empty($this->extraFields['vendor'])) {
?>
<table class="table table-striped">
<?php
foreach($this->extraFields['vendor'] as $fieldName => $oneExtraField) {
if(in_array($fieldName, array('vendor_address_vat')))continue;
?>
<tr class="hikamarket_vendor_custom_<?php echo $oneExtraField->field_namekey;?>_line">
<td class="key">
<span id="hikamarket_vendor_custom_name_<?php echo $oneExtraField->field_id;?>" class="hikamarket_vendor_custom_name"><?php
echo $this->fieldsClass->getFieldName($oneExtraField);
?></span>
</td>
<td>
<span id="hikamarket_vendor_custom_value_<?php echo $oneExtraField->field_id;?>" class="hikamarket_vendor_custom_value"><?php
echo $this->fieldsClass->show($this->extraFields['vendor']['vendor_address_vat'], $this->vendor_address_vat);
?></span>
</td>
</tr>
<?php
}
?>
</table>
<?php
}
?>
</div>
But the result is like the attachment
Whay's wrong?
Thanks
Please Log in or Create an account to join the conversation.
10 years 3 weeks ago #248855
by Jerome
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.
Replied by Jerome on topic Vendor Page
Hi,
Performing that kind of customization requires some PHP/development knowledge.
You added the content to skip the display of one field from the main loop ; but you also put the code which should be put elsewhere, inside the loop.
So the final result won't feet to your initial expectation.
Please delete your view override and make a new one.
First apply the first patch I gave you.
Then, at the very bottom of the view, put the second code I gave you.
Regards,
Performing that kind of customization requires some PHP/development knowledge.
You added the content to skip the display of one field from the main loop ; but you also put the code which should be put elsewhere, inside the loop.
So the final result won't feet to your initial expectation.
Please delete your view override and make a new one.
First apply the first patch I gave you.
Then, at the very bottom of the view, put the second code I gave you.
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.
Moderators: Obsidev
Time to create page: 0.290 seconds