i want to do sth but i m stuck on how to..
my site every day sync with my vendor site...(import to me)
and my site export an xml to a third part site (export of me)
i want to fix some products titles for my export but every day after sync titles are back on how my vendor send it to me..
so i m trying to find a way to do this correctly
what i have think of is to add my title to customtitle (not syncing with vendor) and send that title to third party
now all my customtitles are empty so what i need is to export for my third party custom title and when custom title is empty to fill with the actual product name
i think this is correct thinking but i dont know how to do that....???
or if you have any better idea
thanks very much in advanced
- soura123
- RO CSVI
- Monday, 03 October 2016
- Subscribe via email
0
Accepted Answer
Pending Moderation
i have to the code on this path
com_virtuemart\model\export\products.php
on case : customtile
the $fieldvalue:'';
if i put sth between '' i get it on empty customtitles
so now i want some one to tell how to get the name between ''
i play arround with $fieldvalue: product_name
but because i am on case customtitle nothing works
so i think some one with better knowledge of php can help perhaps??
thanks
com_virtuemart\model\export\products.php
on case : customtile
the $fieldvalue:'';
if i put sth between '' i get it on empty customtitles
so now i want some one to tell how to get the name between ''
i play arround with $fieldvalue: product_name
but because i am on case customtitle nothing works
so i think some one with better knowledge of php can help perhaps??
thanks
Accepted Answer
Pending Moderation
Hello,
We are limited to help you here as its your custom code but still you can look for product_name case statement in the com_virtuemart\model\export\product.php file and can do the same for your customtitle.
We are limited to help you here as its your custom code but still you can look for product_name case statement in the com_virtuemart\model\export\product.php file and can do the same for your customtitle.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
ok i search for that but the only thing i fond for product_name is:
case
roduct_name
that's it ...
any help will be appreciated
case

that's it ...
any help will be appreciated
Accepted Answer
Pending Moderation
Hello,
In com_virtuemart\model\export\product.php file check from line number 932, that is the case statement for product_name and few more fields. There is set of code with sql query written to get product_name and other fields according to the translational language.
In com_virtuemart\model\export\product.php file check from line number 932, that is the case statement for product_name and few more fields. There is set of code with sql query written to get product_name and other fields according to the translational language.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
i m sorry i m not a coder so it is very difficult for me to find the solution...
my thought was if there is a statement like: $product_name
to add on the $fieldvalue:''; between '' and to be ok
if you now the solution please help
my thought was if there is a statement like: $product_name
to add on the $fieldvalue:''; between '' and to be ok
if you now the solution please help
Accepted Answer
Pending Moderation
Hello,
Why don't you add a replacement rule? That way you don't need to code anything, just manage the rules.
Why don't you add a replacement rule? That way you don't need to code anything, just manage the rules.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
a little bit more information rolandd??
hot to set up the filed??
hot to set up the filed??
Accepted Answer
Pending Moderation
i dont think the replace plugin is for this job because we want field to replace not text or phrase,,,
the combine pluging would be perfect for this job if has option "only when the field has value"
the combine pluging would be perfect for this job if has option "only when the field has value"
Accepted Answer
Pending Moderation
Hello,
Since you have a condition here when custom title is empty replace it with product_name, that wont be possible with rules.
Since you have a condition here when custom title is empty replace it with product_name, that wont be possible with rules.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »